module Crypto::Padding
Defined in:
crypto/utils/padding.crClass Method Summary
-
.pkcs7(buffer : Indexable(UInt8), block_size : Int)
Performs padding on the given plaintext to ensure that it is a multiple of the given block_size value in the parameter.
Class Method Detail
Performs padding on the given plaintext to ensure that it is a multiple of the given block_size value in the parameter. Uses the PKCS7 standard for performing padding.