Registriert seit: 11. Okt 2003
Ort: Elbflorenz
44.287 Beiträge
Delphi 12 Athens
|
Re: CRC32 für einzelne Wörter!
21. Jan 2009, 17:51
als Alternativen hätten wir noch
Hagen's DEC DEC (Delphi Encrytion Compendium)
http://www.michael-puff.de/Developer...agen_Reddmann/
HashLib! v1.03.exe
http://www.delphipraxis.net/internal...?p=96430#96430
vieles vieles mehr
und im Notfall noch was von mir
http://www.delphipraxis.net/internal...t.php?t=135239
Delphi-Quellcode:
Var CRC32: ThxCRC32;
S: String;
B: LongWord;
CRC32.InitT; // notfalls das Polynom ändern, oder 'ne andere Tabelle laden
CRC32.Calc('dein Wort');
S := CRC32.asHexString; //B := CRC32.asBin;
// oder
CRC32.InitT; // notfalls das Polynom ändern, oder 'ne andere Tabelle laden
CRC32.Init;
CRC32.Update('dein Wort');
CRC32.Final;
S := CRC32.asHexString; //B := CRC32.asBin;
der CRC32-Teil ließe sich auch "einfach" aus dem Projekt extrahieren
Ein Therapeut entspricht 1024 Gigapeut.
|