[DUG] Hash function for string

John Bird johnkbird at paradise.net.nz
Mon Sep 21 17:10:28 NZST 2009


I need a function to get a hash value from a string about 100 or so characters long, ideally giving something only 10-20 characters max - either a string or number.

Any recomendations?

Used a simple roll-my own up to now, but it does not work well for more than about 32 characters - well I think it might possibly give duplicates.

John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listserver.123.net.nz/pipermail/delphi/attachments/20090921/ff78da8b/attachment.html 


More information about the Delphi mailing list