CBC.start

Initialize the cipher and, possibly, the initialization vector (IV). If the cipher is already initialized a new IV can be set without the overhead of a new key setup: init(forEncryption, null, newIV)

  1. void start(bool forEncryption, KeyParameter keyParam)
  2. void start(bool forEncryption, ubyte[] userKey, ubyte[] iv)
    struct CBC(Cipher)
    nothrow @nogc
    void
    start
    (,
    in ubyte[] userKey
    ,
    in ubyte[] iv = null
    )
    if ()

Parameters

forEncryption bool

if true the cipher is initialized for encryption, if false for decryption.

Meta