sha1(password) encryption
Posted
by Jason
on Stack Overflow
See other posts from Stack Overflow
or by Jason
Published on 2010-06-14T15:02:29Z
Indexed on
2010/06/14
15:12 UTC
Read the original article
Hit count: 309
php5
|securestring
Alright, so I tried to make my users info super secure by adding '" . sha1($_POST['password']) . "' when inserting their password when they register. THAT WORKS great, looking at the database, I have no clue what their password is.
Now the problem is logging in. I'm running some tests and when I try to log in, the password 12345 doesn't match the encrypted password using "$password=sha1($_POST['mypassword']);"
Any idea's why?
© Stack Overflow or respective owner