Does PHP's hash function supported WHIRLPOOL by default? I believe it does but I wanted to ask to be sure.
Yes, hash()
in PHP should support Whirlpool by default. Try calling:
print_r(hash_algos());
to see the list of supported hashing methods.
http://www.php.net/manual/en/function.hash-algos.php
Yes. And your code might look something like this:
$myHash = hash( 'whirlpool', $salt . $password );
More details can be found in this excellent article: PHP Password Security
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With