Versions in this module Expand all Collapse all v1 v1.1.0 Jun 13, 2023 v1.0.0 May 12, 2023 Changes in this version + const ANSIX923 + const CBC + const CFB + const CTR + const ECB + const ISO10126 + const ISO9797M1 + const ISO9797M2 + const No + const NoOrZero + const OFB + const PKCS7 + const Zero + type Conf struct + EncryptModel aesEncryptModel + IV string + Key string + PaddingType aesPaddingType + type Crypto interface + Decrypt func(decryptedData string) (string, error) + Encrypt func(origStr string) (string, error) + EncryptModel func(model aesEncryptModel) + PaddingType func(tp aesPaddingType) + func New(c Conf) Crypto