search for: 2787551f694768be48c6944a3a1e6b6d

Displaying 1 result from an estimated 1 matches for "2787551f694768be48c6944a3a1e6b6d".

2009 Nov 09
4
Decrypt a admin password (with salt)
Hello, I want decrypt a password which is encrypted by MD5. there are 4 functions which i am using : # Encrypts some data with the salt. def self.encrypt(password, salt) Digest::SHA1.hexdigest("--#{salt}--#{password}--") end # Encrypts the password with the user salt def encrypt(password) self.class.encrypt(password, salt) end def authenticated?(password)