Friday, January 21, 2011

Re: Hashed password displaying

I don't think a hashed password is reversible.
if you really need the to show cleartext password you could add another field
into the db table like password_cleartext and keep it there ....

Andras Kende
http://www.kende.com


On Jan 21, 2011, at 4:59 PM, eldorado2768 wrote:

> If I setup a user and create a password, the password is hashed using
> cakephp's default SHA1 hash algorithm and saved in the user table
> without any problem. However, when I want to view or edit the record,
> the entire 36 char password is being displayed in the password field.
> Is there any way to reverse hash it back to the decrypted version so
> the user sees the original password before it was hashed?
>
> --
> Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
> Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
>
>
> To unsubscribe from this group, send email to
> cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: