No, it's not. You're using a hashing algorithm, if you want to get it back later (which isn't a good idea, for passwords specially), you should check for ruby cryptography libraries.
- Maurício Linhares http://alinhavado.wordpress.com/ (pt-br) | http://blog.codevader.com/ (en) On Tue, Jan 20, 2009 at 11:24 AM, Tushar Gandhi <[email protected]> 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? > > 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 -~----------~----~----~----~------~----~------~--~---

