Versions in this module Expand all Collapse all v1 v1.0.3 Feb 15, 2024 v1.0.2 Feb 15, 2024 Changes in this version + var ErrInvalidBlockSize = errors.New("invalid blocksize") + var ErrInvalidPKCS7Data = errors.New("invalid PKCS7 data (empty or not padded)") + var ErrInvalidPKCS7Padding = errors.New("invalid padding on input") + func Decrypt(iv, key, ciphertext []byte) ([]byte, error) + func DecryptCbc(iv, key, ciphertext []byte) ([]byte, error) + func Encrypt(iv, key, plaintext []byte) ([]byte, error) + func EncryptCbc(iv, key, plaintext []byte) ([]byte, error)