package
Version:
v0.4.1
Opens a new window with list of versions in this module.
Published: Nov 10, 2024
License: Apache-2.0
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.
Documentation
¶
View Source
var (
ErrApiSecretEnvVarNotSet = errors.New("FOREST_API_SECRET environment variable is not set")
)
func DecryptBytes(secret []byte, datas ...*[]byte)
DecryptBytes 数据解密
func EncryptBody(body interface{}) ([]byte, error)
func EncryptBytes(secret []byte, datas ...*[]byte)
EncryptBytes 数据加密
Source Files
¶
Click to show internal directories.
Click to hide internal directories.