I can't seem to find support for the SHA-1 algorithm in PHP. I did find the mhash() function, but not only is this function very badly documented (no list of what hashes it supports!), you also have to compile PHP specifially to support it. Wouldn't it be nice with a sha1() function (like md5()). It's my impression that md5 can easily be cracked within hours or days with off the shelf hardware. It is my impression that SHA-1 hashes are magnitudes harder to crack. From what I can see, the SHA-1 algorithm is very easy to implement, but my knowledge of C is limited, and my knowledge of the Zend API is nought.
André Nęss -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php