IBufferedBlockCipher.processByte

takes one byte and stores it in a buffer. Only if the buffer is full it gets encrypted and the cipher text gets written to output.

interface IBufferedBlockCipher
nothrow @nogc
uint
processByte
(
in ubyte b
,
ubyte[] output
)

Parameters

b ubyte

the byte to encrypt

output ubyte[]

the output buffer

Return Value

Type: uint

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

Meta