Documentation ¶
Index ¶
- Variables
- func DecryptAesWithCbc(in []byte, key []byte, iv []byte) ([]byte, error)
- func DecryptPkcs5(in []byte) ([]byte, error)
- func DecryptPkcs7(in []byte) ([]byte, error)
- func EncryptAesWithCbc(in []byte, key []byte, iv []byte) ([]byte, error)
- func EncryptPkcs5(in []byte) []byte
- func EncryptPkcs7(in []byte, blockSize int) []byte
Constants ¶
This section is empty.
Variables ¶
View Source
var CommonIv = []byte{0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f}
View Source
var ErrPkcs = errors.New("naza.crypto: fxxk")
Functions ¶
func DecryptAesWithCbc ¶ added in v0.19.0
func DecryptPkcs5 ¶ added in v0.19.0
func DecryptPkcs7 ¶ added in v0.19.0
func EncryptPkcs5 ¶ added in v0.19.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.