Added support for password encryption/decryption