Added support for different encryption methods

Different encryption methods can now be used on the message. Values
supported are none, hmac-sha-256, and aes-256-gcm.