ddn.crypto.cipher.padding

Block cipher padding implementations.

Provides concrete padding schemes used by block ciphers. The Padding interface is defined in ddn.api.crypto.padding.

Types 1

PKCS#7 Padding Implementation.

Padding bytes are equal to the number of padding bytes added.

Methods
ubyte[] pad(const(ubyte)[] input, size_t blockSize)
ubyte[] unpad(const(ubyte)[] input, size_t blockSize)