How to solve automatic password salt?
Hi,
In login form fill into password input word "password":
hash of this is:
'5baa61e4c9b93f3f0682250b6cf8331b7ee68fd8'
but in databese is word "password" hashed as:
'5f4dcc3b5aa765d61d8327deb882cf99'
Im tried set Security.salt hash in core.php to empty, but values are still hashed.
Im using MD5 for this table.
Is any solution for this?
Thanks for any reply..
Asked by blacksymmetry, on 8/2/10
1 Answer
cake automatically hashes password fields when you use auth and the form has a username field and a password field
it uses a sha1 hash with a salt, i would recommend you use this unless you are using legacy data that is already md5.
if that is the case use this http://book.cakephp.org/view/566/Change-Hash-Function
Answered by dogmatic69on 8/2/10
Your Answer
You can use Creole Wiki Syntax to format your text.
Rating
0
Viewed
2165 times
Last Activity
on 8/2/10






