add a password encrypt and decrypt helper