Re:500k Bitcoins traded in 1h, Mt.Gox market hacked + crash
by drpancake on Sunday June 19, 2011 @05:19PM
(#2671934)
The salt is one of the other fields in the row? I'm pretty sure I used unimportant password, but I can't remember for sure!
[ Parent
| on HN ]
Re:500k Bitcoins traded in 1h, Mt.Gox market hacked + crash
by olex on Monday June 20, 2011 @06:49PM
(#2676462)
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.