You are not logged in.
Pages: 1
I created a form for entering login and password that will be used to access the session.
I would like to see the original password in the form, because I want to change the password, what should I write to decrypt the encrypted password with " PasswordHashHexa: = SHA256 ('salt' + value);"
thanks corchi
Offline
The password is not crypted, it is hashed.
This is the most secure way of checking a password without storing its value.
See http://en.wikipedia.org/wiki/Cryptograp … h_function
Since it is mathematically impossible to decrypt a SHA-256 hash in the current state of computing power, you can not do that.
You can ask for the previous password at changing it.
This is a current procedure in all SW systems.
Online
ok thanks , I like this solution
Offline
Pages: 1