Decrypting password.

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.