AES.start

struct AES
void
start
nothrow @nogc
(
,
in ubyte[] userKey
,
in ubyte[] iv = null
)
in { size_t len = userKey.length; assert (len == 16 || len == 24 || len == 32, this.name ~ ": Invalid key length (requires 16, 24 or 32 bytes)"); }

Parameters

forEncryption
Type: bool

false: decrypt, true: encrypt

userKey
Type: ubyte[]

Secret key.

iv
Type: ubyte[]

Not used.

Meta