package
Version:
v1.0.0
Opens a new window with list of versions in this module.
Published: Mar 24, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func PKCS7Padding(ciphertext []byte, blocksize int) []byte
补码
AES加密数据块分组长度必须为128bit(byte[16]),密钥长度可以是128bit(byte[16])、192bit(byte[24])、256bit(byte[32])中的任意一个。
func PKCS7UnPadding(origData []byte) []byte
去码
Source Files
¶
Click to show internal directories.
Click to hide internal directories.