Add encrypt and decrypt.