Documentation
Tagion
AESCrypto
tagion
crypto
aes
AESCrypto
Undocumented in source.
struct
AESCrypto (
int
KEY_LENGTH
) {
enum
BLOCK_SIZE
;
enum
KEY_SIZE
;
static
void
crypt_parse
(const(ubyte[]) key, ubyte[BLOCK_SIZE] iv, ubyte[] data);
static
void
crypt
(const(ubyte[]) key, const(ubyte[]) iv, const(ubyte[]) indata, ubyte[] outdata);
}
Members
Static functions
crypt
void
crypt
(const(ubyte[]) key, const(ubyte[]) iv, const(ubyte[]) indata, ubyte[] outdata)
Same as crypt_parse except that the indata is copied to outdata
crypt_parse
void
crypt_parse
(const(ubyte[]) key, ubyte[BLOCK_SIZE] iv, ubyte[] data)
Encrypt and Decrypt the data emplace
tagion
crypto
aes
AESCrypto
structs
AESCrypto