Versions in this module Expand all Collapse all v2 v2.3.0 Jul 4, 2025 Changes in this version + const SizeKey + var ErrAuthCiphertext = errors.New("err open decrypts and authenticates ciphertext") + var ErrBlockCipher = errors.New("err create 128-bit block cipher") + var ErrGenerateKey = errors.New("err generate key") + var ErrRandRead = errors.New("err rand read encrypt") + var ErrVerifyKEy = errors.New("err verify key on standard aes") + func Decrypt(ciphertext string, key string) (string, error) + func Encrypt(plaintext string, key string) (string, error) + func GenerateKey() (string, error)