Function
Encrypts a message based on the specified encryption method encrypt
the message to be encrypted
the Whiteflag encryption method
the input key material for the encryption key
Optional
the initialisation vector, if required for the method
the Whiteflag protocol version
v1-draft.7
5.2.4 Message Encryption
Encrypts a message based on the specified encryption method encrypt