3des encryption

Is there a way (or plugin) in rails to encrypt passwords using the 3des

algorithm?

http://technoweenie.stikipad.com/plugins/show/Reversible+Encrypted+Passwords

Best regards

Peter De Berdt