hash suggestions wanted
| From: | David P. Schwartz | Date: | Fri, 30 Mar 2001 19:50:06 +0000 |
| Subject: | hash suggestions wanted | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-46370@lists.php.net to get a copy of this message | ||
the PHP crypt function uses DES and it only generates a hash based on the
first 8 chars of a string, although it produces a 12-char hash. Md5 can hash
a string of indefinite length, but it produces a much longer hash (34 chars or
so).
I need something that can provide me with a 12-16 char hash of an indefinite
string (usually under 100 chars in my case) using standard hasing algorithms.
Any suggestions?
Thanks
-David Schwartz