Documentation ¶
Index ¶
- func AesEcbDecrypt(data, key []byte) []byte
- func AesEcbEncrypt(data, key []byte) []byte
- func AesEcbPKCS7Decrypt(data, key []byte) []byte
- func AesEcbPKCS7Encrypt(data, key []byte) []byte
- func AesSha1PRNG(keyBytes []byte, encryptLength int) ([]byte, error)
- func PKCS5Padding(ciphertext []byte, blockSize int) []byte
- func PKCS5UnPadding(origData []byte) []byte
- func PKCS7Padding(ciphertext []byte, blocksize int) []byte
- func PKCS7UnPadding(origData []byte) []byte
- func SHA1(data []byte) []byte
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AesSha1PRNG ¶
AesSha1PRNG aes_sha1_prng加密
func PKCS5Padding ¶
func PKCS5UnPadding ¶
func PKCS7Padding ¶
func PKCS7UnPadding ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.