Autor Beitrag
Experience1986
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 192

Win XP Pro SP2
Delphi 7
BeitragVerfasst: Di 24.02.04 15:56 
Hi,

Ich möchte eine Check-Summe aus einer Exe Berechnen, ein die sich ändert, wenn das Programm geändern / gecrackt wurden ist.

Wie lässt sich das lösen?
tomtom62
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 278

WIN 2000, XP prof
D5 prof.
BeitragVerfasst: Di 24.02.04 19:26 
Such mal nach Suche bei Google CRC32 DELPHI
DeCodeGuru
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 1333
Erhaltene Danke: 1

Arch Linux
Eclipse
BeitragVerfasst: Di 24.02.04 19:53 
du könntest auch bei Google nach MD5 schauen. Da gibt es eine Unit, die man leicht in Delphi verwenden kann. :)

_________________
Viele Grüße
Jakob
Experience1986 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 192

Win XP Pro SP2
Delphi 7
BeitragVerfasst: Di 24.02.04 19:56 
tomtom62 hat folgendes geschrieben:
Such mal nach Suche bei Google CRC32 DELPHI


Jup, hab was gefunden, auch ne Unit.

@CodeGuru: MD5 verschlüsselt ja, so weit ich weis geht CRC aber in die Exe, Windows Verwendet diese Methode auch. Das halte ich für sicherer als mit Md5 zum Beispiel Exe Name, Datum und so zu versclüsseln.
DeCodeGuru
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 1333
Erhaltene Danke: 1

Arch Linux
Eclipse
BeitragVerfasst: Di 24.02.04 19:58 
Seit wann verschlüsselt MD5? MD5 generiert einfach nur nen Hash. :?

_________________
Viele Grüße
Jakob
Experience1986 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 192

Win XP Pro SP2
Delphi 7
BeitragVerfasst: Di 24.02.04 20:01 
md5 ist eine einwegverschlüsselung. das weis ich aus php.
wird aber auch als hash gesehen. spielt doch aber keine rolle.
DeCodeGuru
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 1333
Erhaltene Danke: 1

Arch Linux
Eclipse
BeitragVerfasst: Di 24.02.04 20:10 
ist ja im Prinzip wurscht; auf jeden Fall kannst du MD5 dafür auch verwenden. :wink:

_________________
Viele Grüße
Jakob
Motzi
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 2931

XP Prof, Vista Business
D6, D2k5-D2k7 je Prof
BeitragVerfasst: Di 24.02.04 21:38 
Also "Einwegverschlüsselung" ist eine falsche Bezeichnung.. MD5 berechnet wie DeCodeGuru bereits gesagt hat einen Hash und wird daher auch als One-Way-Hash Funktion bezeichnet. Das hat aber nichts mit Verschlüsselung zu tun! Ein Hash ist dabei sowas wie ein Fingerabdruck der Eingabedaten...

MD5 ist sogar sicherer als CRC32, da MD5 einen 128-Bit Hash berechnet, während CRC32 nur ein 32-Bit Checksumme erzeugt...
Bei MD5 besteht also eine Gefahr von 1 : 340282366920938463463374607431768211456 dass 2 unterschiedliche Eingabedaten denselben Hash erzeugen während bei CRC32 die Gefahr von 1 : 4294967296 besteht...!

Ich verwende aber eigentlich immer den SHA1-Hash-Algo welcher einen 160-Bit Hash berechnet...

_________________
gringo pussy cats - eef i see you i will pull your tail out by eets roots!
DeCodeGuru
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 1333
Erhaltene Danke: 1

Arch Linux
Eclipse
BeitragVerfasst: Di 24.02.04 21:44 
hui, jetzt wissens wir ganz genau.

P.S.: Ich habe den Link zur Unit gefunden. www.fichtner.net/delphi/md5.delphi.phtml

_________________
Viele Grüße
Jakob