Documentation ¶
Index ¶
- func CBCDecrypt(key []byte, data []byte) ([]byte, error)
- func CBCDecryptStr(key, data string) ([]byte, error)
- func CBCEncrypt(key []byte, data []byte) ([]byte, error)
- func CBCEncryptStr(key, data string) ([]byte, error)
- func CFBDecrypt(key []byte, data []byte) ([]byte, error)
- func CFBDecryptStr(key, data string) ([]byte, error)
- func CFBEncrypt(key []byte, data []byte) ([]byte, error)
- func CFBEncryptStr(key, data string) ([]byte, error)
- func CTRDecrypt(key []byte, data []byte) ([]byte, error)
- func CTRDecryptStr(key, data string) ([]byte, error)
- func CTREncrypt(key []byte, data []byte) ([]byte, error)
- func CTREncryptStr(key, data string) ([]byte, error)
- func Decrypt(key, crypted []byte) ([]byte, error)
- func DecryptStr(key, data string) string
- func Encrypt(key, origData []byte) ([]byte, error)
- func EncryptStr(key, data string) string
- func GCMDecrypt(key []byte, data []byte) ([]byte, error)
- func GCMDecryptStr(key, data string) ([]byte, error)
- func GCMEncrypt(key []byte, data []byte) ([]byte, error)
- func GCMEncryptStr(key, data string) ([]byte, error)
- func OFBDecrypt(key []byte, data []byte) ([]byte, error)
- func OFBDecryptStr(key, data string) ([]byte, error)
- func OFBEncrypt(key []byte, data []byte) ([]byte, error)
- func OFBEncryptStr(key, data string) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CBCDecryptStr ¶ added in v1.0.2
CBCDecryptStr CBC解密
func CBCEncryptStr ¶ added in v1.0.2
CBCEncryptStr CBC加密
func CFBDecryptStr ¶ added in v1.0.2
CFBDecryptStr CFB解密
func CFBEncryptStr ¶ added in v1.0.2
CFBEncryptStr CFB加密
func CTRDecryptStr ¶ added in v1.0.2
CTRDecryptStr CTR解密
func CTREncryptStr ¶ added in v1.0.2
CTREncryptStr CTR加密
func GCMDecryptStr ¶ added in v1.0.2
GCMDecryptStr GCM解密
func GCMEncryptStr ¶ added in v1.0.2
GCMEncryptStr GCM加密
func OFBDecryptStr ¶ added in v1.0.2
OFBDecryptStr OFB解密
func OFBEncryptStr ¶ added in v1.0.2
OFBEncryptStr OFB加密
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.