Documentation ¶
Index ¶
- func AesCbcDecrypt(cipherText, secretKey, ivAes []byte) (plainText []byte, err error)
- func AesCbcDecryptByBase64(cipherTextBase64 string, secretKey, ivAes []byte) (plainText []byte, err error)
- func AesCbcDecryptByHex(cipherTextHex string, secretKey, ivAes []byte) (plainText []byte, err error)
- func AesCbcEncrypt(plainText, secretKey, ivAes []byte) (cipherText []byte, err error)
- func AesCbcEncryptBase64(plainText, secretKey, ivAes []byte) (cipherTextBase64 string, err error)
- func AesCbcEncryptHex(plainText, secretKey, ivAes []byte) (cipherTextHex string, err error)
- func AesCtrDecrypt(cipherText, secretKey, ivAes []byte) (plainText []byte, err error)
- func AesCtrDecryptByBase64(cipherTextBase64 string, secretKey, ivAes []byte) (plainText []byte, err error)
- func AesCtrDecryptByHex(cipherTextHex string, secretKey, ivAes []byte) (plainText []byte, err error)
- func AesCtrEncrypt(plainText, secretKey, ivAes []byte) (cipherText []byte, err error)
- func AesCtrEncryptBase64(plainText, secretKey, ivAes []byte) (cipherTextBase64 string, err error)
- func AesCtrEncryptHex(plainText, secretKey, ivAes []byte) (cipherTextHex string, err error)
- func AesEcbDecrypt(plainText, secretKey []byte) (cipjerText []byte, err error)
- func AesEcbDecryptByBase64(cipherTextBase64 string, key []byte) (plainText []byte, err error)
- func AesEcbDecryptByHex(cipherTextHex string, key []byte) (plainText []byte, err error)
- func AesEcbEncrypt(plainText, secretKey []byte) (cipherText []byte, err error)
- func AesEcbEncryptBase64(plainText, key []byte) (cipherTextBase64 string, err error)
- func AesEcbEncryptHex(plainText, key []byte) (cipherTextHex string, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AesCbcDecrypt ¶
decrypt
func AesCbcDecryptByBase64 ¶
func AesCbcDecryptByHex ¶
func AesCbcEncrypt ¶
encrypt
func AesCbcEncryptBase64 ¶
func AesCbcEncryptHex ¶
func AesCtrDecrypt ¶
func AesCtrDecryptByBase64 ¶
func AesCtrDecryptByHex ¶
func AesCtrEncrypt ¶
func AesCtrEncryptBase64 ¶
func AesCtrEncryptHex ¶
func AesEcbDecrypt ¶
func AesEcbDecryptByBase64 ¶
func AesEcbDecryptByHex ¶
func AesEcbEncrypt ¶
func AesEcbEncryptBase64 ¶
func AesEcbEncryptHex ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.