Versions in this module Expand all Collapse all v0 v0.0.4 Sep 14, 2021 v0.0.3 Oct 10, 2020 Changes in this version + func ParsePrivateKey(key []byte) (*rsa.PrivateKey, error) + type ConfigDecryptor struct + func NewConfigDecryptor(valueDecryptor *ValueDecryptor) *ConfigDecryptor + func (c ConfigDecryptor) Decrypt(output io.Writer, input io.Reader) (err error) + type Decryptor interface + Decrypt func(output io.Writer, input io.Reader) (err error) + func NewDecryptor(key []byte) (Decryptor, error) + type ValueDecryptor struct + func NewValueDecryptor(key []byte, options ...ValueDecryptorOption) (*ValueDecryptor, error) + func (d ValueDecryptor) DecryptValue(value string) (string, error) + type ValueDecryptorOption func(decryptor *ValueDecryptor) error + func WithSalt(salt string) ValueDecryptorOption