Add encrypt and decrypt