Re: [PHP] hash suggestions wanted

2001-03-31 Thread Yasuo Ohgaki
If you need shorter result, how about use a part of md5 hash result? -- Yasuo Ohgaki ""David P. Schwartz"" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > the PHP crypt function uses DES and it only generates a hash based on the > first 8 chars of a string, a

[PHP] hash suggestions wanted

2001-03-30 Thread David P. Schwartz
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 o