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
Type: string[]

The encryption/decryption keys.

plaintexts
Type: string[]

Plaintexts.

cipherTexts
Type: string[]

Corresponding ciphertexts.

ivs
Type: string[]

Initialization vectors.

Meta