IBlockCipherProcessBlock(ReadOnlySpanByte, SpanByte) Method

Process a block.

Definition

Namespace: Org.BouncyCastle.Crypto
Assembly: BouncyCastle.Cryptography (in BouncyCastle.Cryptography.dll) Version: 2.3.0-beta.187+d6da5648ae
int ProcessBlock(
	ReadOnlySpan<byte> input,
	Span<byte> output
)

Parameters

input  ReadOnlySpanByte
The input block as a span.
output  SpanByte
The output span.

Return Value

Int32
The number of bytes processed and produced.

Exceptions

DataLengthExceptionIf input block is wrong size, or output span too small.

See Also