#1 2011-12-02 10:42:27

corchi72
Member
Registered: 2010-12-10
Posts: 232

How to decrypt password?

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

#2 2011-12-02 12:27:10

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,660
Website

Re: How to decrypt password?

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.

Offline

#3 2011-12-02 13:40:08

corchi72
Member
Registered: 2010-12-10
Posts: 232

Re: How to decrypt password?

ok thanks , I like this solution

Offline

Board footer

Powered by FluxBB