AEADCipherTest

Runs decryption and encryption using AEADCipher cipher with given keys, plaintexts, and ciphertexts.

version(unittest) @safe
void
AEADCipherTest
(
,
in string[] keys
,
in string[] ivs
,
in string[] plaintexts
,
in string[] aads
,
in string[] ciphertexts
,
in uint[] macSize
)

Parameters

macSize
Type: uint[]

MAC sizes in bits

Throws

AssertionError if encryption or decryption failed

Meta