Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Salting and MySQL

Name: qallaf89 2012-10-03 19:06

Can someone provide me with an example of how to use encryption using Blowfish (or ADES) and salting for a user password in PHP using MySQL ?

Also, i am new to crypto so any suggestion would be appreciated.

Name: Cudder !MhMRSATORI!fR8duoqGZdD/iE5 2012-10-04 3:51

>>6
Salted MD5 is just fine if not used as a dumb password-only hash.

Store MD5(PAD0+MD5(PAD1+username+PAD2+password+PAD3)+PAD4+password)

where PADx are randomly chosen, suitably long blocks of random binary data.

But if your password hashes are compromised, all bets are off anyway, so you should focus on that instead of anything else first.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List