Versions in this module Expand all Collapse all v0 v0.1.0 Feb 23, 2024 Changes in this version + func InvalidVersion() error + func Rand16() (bytes [16]byte, err error) + func Rand24() (bytes [24]byte, err error) + func Rand32() (bytes [32]byte, err error) + type Cipher interface + Decrypt func(string, []byte) ([]byte, error) + Encrypt func([]byte) ([]byte, error) + Version func() string + func AES128GCM(version string, key [16]byte) (Cipher, error) + func AES192GCM(version string, key [24]byte) (Cipher, error) + func AES256GCM(version string, key [32]byte) (Cipher, error) + func Ciphers(main Cipher, many ...Cipher) Cipher