StreamCipherWrapper.processBytes

process a block of bytes from in putting the result into out.

class StreamCipherWrapper(T)
@safe
ubyte[]
processBytes
(
in ubyte[] input
,
ubyte[] output
)

Parameters

output ubyte[]

the output buffer the processed bytes go into.

Return Value

Type: ubyte[]

Slice pointing to encrypted or decrypted data. Might be smaller than output buffer.

Throws

BufferLengthException if the output buffer is too small.

Meta