Hi, i have a problem to create and match the hash password
Before this, i just used Membership.CreateUser in order to create new user.
But the problem now, I want to reset password. Yes, it is true we can used
built in control to reset password.
But the problem is, my user want more readable or simpler password when they reset their
password.
So, i decide to customize it and planned to send a readble word as their password. Like
"Technology" for example.
I used PasswordFormat = 1 meaning the password will be hashed with salt.
But each time i hashed it, it is not the same
for example. value from table aspnet_users:
- real password: 12345678 (user will enter this)
- salt: Yn+w0VFcltnjsx/vCuMQrw==
- #password: gQ8TLC2qFh0NDVvQfKXut14AZu8=
#1
--
This is the result when i used SHA1
- password: 12345678
- salt: Yn+w0VFcltnjsx/vCuMQrw==
- #pas ...
Go to the complete details ...