Cipher.init
void init(CipherOperation op, Key key, const(ubyte)[] iv = null)Initializes the cipher with a key and optional IV/nonce.
Parameters
op | The operation mode (encryption or decryption). |
key | The key to use. |
iv | The initialization vector or nonce (optional). |