IBlockCipherPaddingPadCount(ReadOnlySpanByte) Method

Determine the length of padding present in the passed in block.

Definition

Namespace: Org.BouncyCastle.Crypto.Paddings
Assembly: BouncyCastle.Cryptography (in BouncyCastle.Cryptography.dll) Version: 2.3.0-beta.187+d6da5648ae

Parameters

block  ReadOnlySpanByte
the block to check padding for.

Return Value

Int32
the number of bytes of padding present.

See Also