Hacker News new | past | comments | ask | show | jobs | submit login

You can recreate the hash by calling crypt() in php with your PW and the full hash as arguments. Basically, the hash is built like $1$_salt_$_hash_ - by feeding it as an argument to the function, you make it use the same salt used originally at encryption, when it was randomly generated. This is exactly the way these hashes are verified on login.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: