On 20 Jan 2009, at 14:24, Tushar Gandhi wrote:

>
> Hi,
> I am using "Digest::SHA1.hexdigest" to encrypt password. Now, I want  
> to
> decrypt that password. Is it possible to decrypt the password and
> recover original one?
>
Nope. SHA1 is a digest function, not an encryption function and thus  
inherently one-way only (at least that's what it's aiming for). If you  
do find a way, a number of crypto researchers would be very interested  
to find out how
Fred
> Thank,
> Tushar
> -- 
> Posted via http://www.ruby-forum.com/.
>
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to