dcrypt ~master (2018-06-04T17:07:07Z)
Dub
Repo
AES.start
dcrypt
blockcipher
aes
AES
struct
AES
void
start
nothrow @
nogc
(
bool
forEncryption
,
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
Source
See Implementation
dcrypt
blockcipher
aes
AES
functions
start