pkcs7 constant
PaddingAlgorithm
const pkcs7
PKCS7 padding (RFC 5652).
PKCS7 padding is a block cipher padding algorithm that adds one or more bytes to the plaintext, each of which has the value of the number of bytes added.
If the data length is a multiple of the block length, a full block of padding is added.
PKCS5 padding is identical to PKCS7 padding. The only difference is that PKCS5 specification requires a block length of 8 bytes.
Implementation
static const PaddingAlgorithm pkcs7 = _Pkcs7PaddingAlgorithm();