Documentation ¶
Index ¶
- func AesCBCDecrypt(ciphertext []byte, key []byte, iv []byte) ([]byte, error)
- func AesCBCEncrypt(plaintext []byte, key []byte, iv []byte) ([]byte, error)
- func Hash(hashN uint, in []byte) []byte
- func Hash2(hash crypto.Hash, in []byte) []byte
- func XxteaDecrypt(src, secret []byte) []byte
- func XxteaEncrypt(src, secret []byte) []byte
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AesCBCDecrypt ¶
aesCBCDecrypt AES/CBC/PKCS7Padding 解密
func AesCBCEncrypt ¶
aesCBCEncrypt AES/CBC/PKCS7Padding 加密
func XxteaDecrypt ¶
func XxteaEncrypt ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.