Documentation ¶
Index ¶
- func Base64DecodeMap(encodedString string) (maps.Map, error)
- func Base64EncodeMap(m maps.Map) (string, error)
- func DecryptData(nodeUniqueId string, nodeSecret string, encodedString string) ([]byte, error)
- func DecryptMap(nodeUniqueId string, nodeSecret string, encodedString string) (maps.Map, error)
- func EncryptData(nodeUniqueId string, nodeSecret string, data []byte) (string, error)
- func EncryptMap(nodeUniqueId string, nodeSecret string, data maps.Map, timeout int32) (string, error)
- type AES256CFBMethod
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Base64DecodeMap ¶
Base64DecodeMap 对Map进行Base64解码
func Base64EncodeMap ¶
Base64EncodeMap 对Map进行Base64编码
func DecryptData ¶
DecryptData 解密
func DecryptMap ¶ added in v0.6.4
DecryptMap 解密
func EncryptData ¶
EncryptData 加密
Types ¶
type AES256CFBMethod ¶
type AES256CFBMethod struct {
// contains filtered or unexported fields
}
func (*AES256CFBMethod) Decrypt ¶
func (this *AES256CFBMethod) Decrypt(dst []byte) (src []byte, err error)
func (*AES256CFBMethod) Encrypt ¶
func (this *AES256CFBMethod) Encrypt(src []byte) (dst []byte, err error)
func (*AES256CFBMethod) Init ¶
func (this *AES256CFBMethod) Init(key, iv []byte) error
Click to show internal directories.
Click to hide internal directories.