Initialize the cipher.
if true the cipher is initialised for encryption, if false for decryption.
A secret key.
A nonce.
See Implementation
Initialize the cipher.