It is never necessary to decrypt a password -- both from a technical
standpoint and from a security standpoint.  If you need to check an entered
password vs the stored has, you hash the entered password and compare with
the stored hash.  If your user forgets theirs, simply generate a new one,
email it to them and store the hash.

I hope you won't be tempted to store unencrypted...  And I hope you're
hashing using salted SHA1.

Cheers,
MM
On Fri, Feb 4, 2011 at 5:56 AM, andy_the ultimate baker <
[email protected]> wrote:

> its really harsh to hear,
> we need to find out something for this becz somtime it become
> necessary
>
> On Feb 4, 3:53 pm, Jeremy Burns | Class Outfit
> <[email protected]> wrote:
> > No, it's a one way encryption.
> >
> > Jeremy Burns
> > Class Outfit
> >
> > [email protected]http://www.classoutfit.com
> >
> > On 4 Feb 2011, at 10:50, andy_the ultimate baker wrote:
> >
> > > i have made all validations but when user view he/her profile the
> > > password get encrypted in view, there is not any way to fix it,
> >
> > > can i convert that encrypted password in actual one?
> >
> > > On Feb 4, 3:43 pm, Jeremy Burns | Class Outfit
> > > <[email protected]> wrote:
> > >> It's a one way encryption, so that's not possible. The only thing you
> can do is how the user the text they are currently inputting (only useful
> really when setting or entering a password) or, if they forget, to put in
> place a system of resetting and validating a new password.
> >
> > >> Might sound like a pain, but it's the most secure way.
> >
> > >> Jeremy Burns
> > >> Class Outfit
> >
> > >> [email protected]http://www.classoutfit.com
> >
> > >> On 4 Feb 2011, at 10:36, andy_the ultimate baker wrote:
> >
> > >>> hi,
> > >>> friends i want to show the password in view to user but its coming
> > >>> hash encoded,
> > >>> can any one tell me how to display password decrypted in view?
> >
> > >>> --
> > >>> Our newest site for the community: CakePHP Video Tutorialshttp://
> tv.cakephp.org
> > >>> Check out the new CakePHP Questions sitehttp://ask.cakephp.organdhelp
> others with their CakePHP related questions.
> >
> > >>> To unsubscribe from this group, send email to
> > >>> [email protected]<cake-php%[email protected]>For
> > >>>  more options, visit this group athttp://
> groups.google.com/group/cake-php
> >
> > > --
> > > Our newest site for the community: CakePHP Video Tutorialshttp://
> tv.cakephp.org
> > > Check out the new CakePHP Questions sitehttp://ask.cakephp.organd help
> others with their CakePHP related questions.
> >
> > > To unsubscribe from this group, send email to
> > > [email protected]<cake-php%[email protected]>For
> > >  more options, visit this group athttp://
> 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
> [email protected]<cake-php%[email protected]>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
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to