Same Salt, Different Encrypted Password is not working? Using Linq to update password.
Posted
by Xaisoft
on Stack Overflow
See other posts from Stack Overflow
or by Xaisoft
Published on 2010-04-07T21:04:43Z
Indexed on
2010/04/07
21:23 UTC
Read the original article
Hit count: 140
Hello,
I am running into a wall regarding changing the password and was wondering if anyone had any ideas. Here are the database values prior to changing the password:
Clear Text password = abc1980
Encrypted Password = Yn1N5l+4AUqkOM3WYO7ww/sCN+o=
Salt = 82qVIhUIoblBRIRvFSZ1fw==
After I change my password to abc1973, salt remains the same, but the Encrypted Password changes which is supposed to happen:
Encrypted Password = rHtjLq3qxAl/7T1GfkxrsHzPsNk=
However, when I try to login with abc1973 as the password, it does not login. If I try abc1980, it logs me in. It is updating the database, is it caching the values somewhere?
Any ideas?
© Stack Overflow or respective owner