AES128

Gcrypt with AES with mode ECB.

See usage example in unittest below.

alias AES128 = GcryptNoIV!(Algorithm.GCRY_CIPHER_AES, Mode.GCRY_CIPHER_MODE_ECB)

Examples

Usage example of AES with 128-bit keys

// AES128 requires a key of length 16 bytes.
static immutable KEY = "asdfghjklqwertyu";

testAES!(AES128, KEY)();

Meta