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
)

Parameters

keys string[]

The encryption/decryption keys.

plaintexts string[]

Plaintexts.

cipherTexts string[]

Corresponding ciphertexts.

ivs string[]

Initialization vectors.

Meta