Versions in this module Expand all Collapse all v2 v2.3.3 Oct 19, 2023 Changes in this version + const AES_GCM_IV_LENGTH + const AES_GCM_TAG_LENGTH + type AESKey struct + Key []byte + func (aesKey *AESKey) Bytes() ([]byte, error) + func (aesKey *AESKey) Decrypt(crypted []byte) ([]byte, error) + func (aesKey *AESKey) DecryptWithOpts(crypted []byte, opts *crypto.EncOpts) ([]byte, error) + func (aesKey *AESKey) Encrypt(plain []byte) ([]byte, error) + func (aesKey *AESKey) EncryptWithOpts(plain []byte, opts *crypto.EncOpts) ([]byte, error) + func (aesKey *AESKey) String() (string, error) + func (aesKey *AESKey) Type() crypto.KeyType