add EncryptMessage and DecryptMessage