+ Add encrypt and decrypt function.