BufferedBlockCipher.processBytes

encrypt or decrypt byte array

struct BufferedBlockCipher(Cipher, bool permitPartialBlock = false)
@nogc
uint
processBytes
nothrow
(
in ubyte[] i
,
ubyte[] output
)
in { assert (output.length >= bufOff + i.length, "output buffer too small"); }
if ()

Parameters

i
Type: ubyte[]

the bytes to encrypt

output
Type: ubyte[]

the output buffer

Return Value

Type: uint

the number of bytes written to output. Will be 0 or BLOCKSIZE of underlying cipher.

Meta