TonyLock Posted August 15, 2009 Share Posted August 15, 2009 Has anyone written a PHP version of SHA-2 or had a go at making SHA-3? Link to comment Share on other sites More sharing options...
0 Athernar Posted August 15, 2009 Share Posted August 15, 2009 You might want to take a look at the PHP hash() function. http://uk.php.net/manual/en/function.hash.php That provides SHA512 and SHA384 which come under SHA-2. (Correct me if I'm wrong) Link to comment Share on other sites More sharing options...
0 TonyLock Posted August 15, 2009 Author Share Posted August 15, 2009 Thanks. I found this too: http://nanolink.ca/pub/sha256/ Link to comment Share on other sites More sharing options...
0 boogerjones Posted August 26, 2009 Share Posted August 26, 2009 If you're using it for password authentication or as part of some encryption scheme, you're better off with a key-derivation function. I wrote a small PHP class that conforms to PBKDF2 and is faster than the .NET implementation. Would be happy to share it. Link to comment Share on other sites More sharing options...
0 firefoxnoob Posted September 5, 2009 Share Posted September 5, 2009 For the record, SHA3 has not been finalized yet (or even close to it) - but there are nominees for the standard. Link to comment Share on other sites More sharing options...
Question
TonyLock
Has anyone written a PHP version of SHA-2 or had a go at making SHA-3?
Link to comment
Share on other sites
4 answers to this question
Recommended Posts