Documentation ¶
Index ¶
- func AesCBCDecrypt(ciphertext, key, iv []byte) ([]byte, error)
- func AesCBCEncrypt(plaintext, key, iv []byte) ([]byte, error)
- func CBCDecrypt(block cipher.Block, ciphertext, iv []byte) ([]byte, error)
- func CBCEncrypt(block cipher.Block, plaintext, iv []byte) ([]byte, error)
- func DesCBCDecrypt(ciphertext, key, iv []byte) ([]byte, error)
- func DesCBCEncrypt(plaintext, key, iv []byte) ([]byte, error)
- func PKCS5Padding(src []byte, blockSize int) []byte
- func PKCS5UnPadding(src []byte) []byte
- func PKCS7Padding(src []byte, blockSize int) []byte
- func PKCS7UnPadding(src []byte) []byte
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AesCBCDecrypt ¶
func AesCBCEncrypt ¶
func DesCBCDecrypt ¶
func DesCBCEncrypt ¶
func PKCS5Padding ¶
func PKCS5UnPadding ¶
func PKCS7Padding ¶
func PKCS7UnPadding ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.