md5, crc32 - all standard stuff - dependng what you are after
 
Maurice

-----Original Message-----
From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On
Behalf Of John Bird
Sent: Monday, 21 September 2009 5:10 p.m.
To: NZ Borland Developers Group - Delphi List
Subject: [DUG] Hash function for string


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

_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: delphi@delphi.org.nz
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: 
unsubscribe

Reply via email to