PKCS7Pad.addPadding

pad with zeros or random bytes if SecureRandom is specified in constructor.

struct PKCS7Pad
pure nothrow @nogc
void
addPadding
(
ubyte[] block
,
in uint len
)

Parameters

len uint

the number of data bytes in this block. has to be smaller than the block size.

Meta