PaddedBufferedBlockCipher.processBytes

input length not limited to multiples of block size. ensure that length of output buffer is sufficiently large (see below).

struct PaddedBufferedBlockCipher(C, Padding, bool permitPartialBlock = false)
@nogc nothrow
uint
processBytes
(
in ubyte[] i
,
ubyte[] output
)
if (
isBlockCipher!C &&
)

Parameters

i ubyte[]

the input data

output ubyte[]

the output buffer. this buffer must be able to hold the same amount of data as given by the input + padding bytes. output.length >= i.length rounded up to the next multiple of block size

Meta