Encrypt a message using a shared secret key
the input data
the length of input in bytes
the key used to encrypt the message
See Implementation
Encrypt a message using a shared secret key