Skip to content

Comment on A New, Simple Way to Salt your Hashes

Comments

Here's what I do:

$password = hash_hmac(sha256,$_POST['password'],"pound_on_your_keyboard_here");

256 bits of hashed goodness. Goodluck breaking that with a rainbow table.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.