Documentation ¶
Index ¶
- func CBCDecrypt(data, key, iv []byte, padding openssl.PaddingType) ([]byte, error)
- func CBCEncrypt(data, key, iv []byte, padding openssl.PaddingType) ([]byte, error)
- func CFBDecrypt(data, key, iv []byte, padding openssl.PaddingType) ([]byte, error)
- func CFBEncrypt(data, key, iv []byte, padding openssl.PaddingType) ([]byte, error)
- func CTRDecrypt(data, key, iv []byte, padding openssl.PaddingType) ([]byte, error)
- func CTREncrypt(data, key, iv []byte, padding openssl.PaddingType) ([]byte, error)
- func ECBDecrypt(data, key []byte, padding openssl.PaddingType) ([]byte, error)
- func ECBEncrypt(data, key []byte, padding openssl.PaddingType) ([]byte, error)
- func OFBDecrypt(data, key, iv []byte, padding openssl.PaddingType) ([]byte, error)
- func OFBEncrypt(data, key, iv []byte, padding openssl.PaddingType) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CBCDecrypt ¶
func CBCDecrypt(data, key, iv []byte, padding openssl.PaddingType) ([]byte, error)
CBCDecrypt DES3的CBC模式解密
func CBCEncrypt ¶
func CBCEncrypt(data, key, iv []byte, padding openssl.PaddingType) ([]byte, error)
CBCEncrypt DES3的CBC模式加密
func CFBDecrypt ¶ added in v0.9.10
func CFBDecrypt(data, key, iv []byte, padding openssl.PaddingType) ([]byte, error)
CFBDecrypt DES3的CFB模式解密
func CFBEncrypt ¶ added in v0.9.10
func CFBEncrypt(data, key, iv []byte, padding openssl.PaddingType) ([]byte, error)
CFBEncrypt DES3的CFB模式加密
func CTRDecrypt ¶ added in v0.9.10
func CTRDecrypt(data, key, iv []byte, padding openssl.PaddingType) ([]byte, error)
CTRDecrypt DES3的CTR模式解密
func CTREncrypt ¶ added in v0.9.10
func CTREncrypt(data, key, iv []byte, padding openssl.PaddingType) ([]byte, error)
CTREncrypt DES3的CTR模式加密
func ECBDecrypt ¶
func ECBDecrypt(data, key []byte, padding openssl.PaddingType) ([]byte, error)
ECBDecrypt DES3的ECB模式解密
func ECBEncrypt ¶
func ECBEncrypt(data, key []byte, padding openssl.PaddingType) ([]byte, error)
ECBEncrypt DES3的ECB模式加密
func OFBDecrypt ¶ added in v0.9.10
func OFBDecrypt(data, key, iv []byte, padding openssl.PaddingType) ([]byte, error)
OFBDecrypt DES3的OFB模式解密
func OFBEncrypt ¶ added in v0.9.10
func OFBEncrypt(data, key, iv []byte, padding openssl.PaddingType) ([]byte, error)
OFBEncrypt DES3的OFB模式加密
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.