module Crypto::Padding

Defined in:

crypto/utils/padding.cr

Class Method Summary

Class Method Detail

def self.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. Uses the PKCS7 standard for performing padding.


[View source]