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 ECBDecrypt(data, key []byte, padding openssl.PaddingType) ([]byte, error)
- func ECBEncrypt(data, key []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 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模式加密
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.