Versions in this module Expand all Collapse all v1 v1.1.1 Oct 11, 2025 Changes in this version + func AesGCMDecrypt(ciphertext, key, nonce []byte) ([]byte, error) + func AesGCMEncrypt(plaintext, key, nonce []byte) ([]byte, error) v1.1.0 Oct 10, 2025 Changes in this version + func AesCBCDncrypt(encryptData, key, iv []byte) ([]byte, error) + func AesCBCEncrypt(rawData, key, iv []byte) ([]byte, error) + func Dncrypt(data, key, iv []byte) ([]byte, error) + func Encrypt(rawData, key, iv []byte) (out []byte, err error) + func PKCS7Padding(ciphertext []byte, blockSize int) []byte + func PKCS7UnPadding(origData []byte) []byte v1.0.0 Sep 7, 2023