Initialize the cipher.
Encrypt if true, decrypt if false.
Secret key.
Initialization vector.
See Implementation
Initialize the cipher.