streamCipherTest

Use this to test a stream cipher with multiple keys, plaintexts and ivs.

@safe
void
streamCipherTest
(,
string[] keys
,
string[] plaintexts
,
string[] ciphertexts
,
string[] ivs = null
)

Parameters

c StreamCipher

the cipher engine

keys string[]

keys in binary format

plaintexts string[]

plaintexts in binary format

ciphertexts string[]

cipher texts in binary format

ivs string[]

initialisation vectors, could be 'null'

Meta