Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Encryptor ¶
type Encryptor interface {
// Name 名称
Name() string
// Encrypt 加密
Encrypt(data []byte) ([]byte, error)
// Decrypt 解密
Decrypt(data []byte) ([]byte, error)
}
func InvokeEncryptorWithError ¶ added in v1.0.9
InvokeEncryptorWithError 调用加密器(返回错误)
Click to show internal directories.
Click to hide internal directories.