Versions in this module Expand all Collapse all v0 v0.4.1 Sep 5, 2022 Changes in this version + 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)