Perl has Digest::SHA and with that, you can do a 512 bit, base 64 hash. Does anyone know the php version of this?
Hi, If I am not mistaken, you wanted to make an irreversible SHA1 hash right? You dont get that with base64_encode function . The string produced can be easily decoded by base64_decode. I think what you are looking for is the sha1 function http://in2.php.net/sha $hash = sha1("foobar"); Thomas