Encrypt a message using a passphrase
the input data
the length of input in bytes
the passphrase used to encrypt the message
a ref to a random number generator, such as AutoSeededRNG
See Implementation
Encrypt a message using a passphrase