package
module
Version:
v0.0.0-...-c4a02a7
Opens a new window with list of versions in this module.
Published: Nov 8, 2022
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
navicat-crypt
Navicat 加密解密
Documentation
¶
func PKCS7Padding(cipherText []byte, blockSize int) []byte
PKCS7Padding 补码
AES加密数据块分组长度必须为128bit(byte[16]),密钥长度可以是128bit(byte[16])、192bit(byte[24])、256bit(byte[32])中的任意一个。
func PKCS7UnPadding(origData []byte) []byte
PKCS7UnPadding 去码
Source Files
¶
Click to show internal directories.
Click to hide internal directories.