BlockCipherPadding.unpad

Return the number of pad bytes in the block.

class BlockCipherPadding
abstract
uint
unpad
(
const(void[]) input_
)

Parameters

input_ const(void[])

Padded block of which to count the pad bytes.

Return Value

Type: uint

The number of pad bytes in the block.

Throws

dcrypt.crypto.errors.InvalidPaddingError if pad length cannot be discerned.

Meta