package
Version:
v1.1.3
Opens a new window with list of versions in this module.
Published: Aug 29, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 13
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package encrypt : 对称加密解密工具包
View Source
var DataIsNil = errors.New("encrypt data is nil")
DecryptString 解密一个hex密文字符串为明文字符串
type Option func(r *config)
Option 选项
WithKeyType 设置加密类型:sm4 / aes
func WithP11Handle ¶
WithP11Handle 设置p11句柄
Source Files
¶
Directories
¶
Created by guoxin in 2024/7/11 上午9:44
|
Created by guoxin in 2024/7/11 上午9:44 |
Click to show internal directories.
Click to hide internal directories.