search for: 0415209c

Displaying 1 result from an estimated 1 matches for "0415209c".

Did you mean: 0055209c
2006 Jan 23
3
Encrypt/ Decrypt password
Hi, I have user add/edit forms.While creating a user I tried the following method to encrypt password and stored the encrypted password in the table. def self.sha1(pass) Digest::SHA1.hexdigest("#{salt}--#{pass}--") end But when I try to edit the page I get the encrypted password in the password field instead of the decrypted password. Is there any method to decrypt