package
Version:
v6.0.4
Opens a new window with list of versions in this module.
Published: Jun 10, 2024
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package padding implements PKCS7 padding.
PKCS7 implements PKCS7 padding for block ciphers.
NewPKCS7 creates a new PKCS7 instance with the specified block size.
Pad adds PKCS7 padding to plainData and returns the padded data.
UnPad removes PKCS7 padding from encryptedData and returns the unpadded data.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.