Versions in this module Expand all Collapse all v0 v0.0.1 Apr 23, 2019 Changes in this version + var EncrypterMap = map[string]EncrypterFunc + var Providers = []string + type AESEncrypter struct + AEAD cipher.AEAD + HashAlgorithm crypto.Hash + func (a *AESEncrypter) Algorithm() string + func (a *AESEncrypter) Decrypt(r io.Reader) ([]byte, error) + func (a *AESEncrypter) Encrypt(r io.Reader) ([]byte, error) + func (a *AESEncrypter) Hasher() crypto.Hash + type Encrypter interface + Algorithm func() string + Decrypt func(io.Reader) ([]byte, error) + Encrypt func(io.Reader) ([]byte, error) + Hasher func() crypto.Hash + func New(algorithm, key string) (Encrypter, error) + func NewAESEncrypter(key string) Encrypter + func NewFromEnv() (Encrypter, error) + type EncrypterFunc func(key string) Encrypter