Documentation ¶
Index ¶
- func CBCDecrypt(cipherText, key, iv []byte) ([]byte, error)
- func CBCEncrypt(originText, key, iv []byte) ([]byte, error)
- func CFBDecrypt(cipherText, key, iv []byte) ([]byte, error)
- func CFBEncrypt(originText, key, iv []byte) ([]byte, error)
- func CTRDecrypt(cipherText, key, iv []byte) ([]byte, error)
- func CTREncrypt(originText, key, iv []byte) ([]byte, error)
- func GCMDecrypt(cipherText, key, nonce []byte) ([]byte, error)
- func GCMEncrypt(originText, key, nonce []byte) ([]byte, error)
- func OFBDecrypt(cipherText, key, iv []byte) ([]byte, error)
- func OFBDecryptStreamWriter(cipherText, key, iv []byte) ([]byte, error)
- func OFBEncrypt(originText, key, iv []byte) ([]byte, error)
- func OFBEncryptStreamReader(originText, key, iv []byte) ([]byte, error)
- func PKCS5Padding(cipherText []byte, blockSize int) []byte
- func PKCS5UnPadding(originText []byte) []byte
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CBCDecrypt ¶
func CBCEncrypt ¶
func CFBDecrypt ¶
func CFBEncrypt ¶
func CTRDecrypt ¶
func CTREncrypt ¶
func GCMDecrypt ¶
func GCMEncrypt ¶
func OFBDecrypt ¶
func OFBDecryptStreamWriter ¶
func OFBEncrypt ¶
func OFBEncryptStreamReader ¶
func PKCS5Padding ¶
func PKCS5UnPadding ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.