blockCipherTest

Runs decryption and encryption using BlockCipher bc with given keys, plaintexts, and ciphertexts

version(unittest)
@safe
void
blockCipherTest
(,
string[] keys
,
string[] plaintexts
,
string[] cipherTexts
,
string[] ivs = null
)

Throws

AssertionError if encryption or decryption failed

Meta