Versions in this module Expand all Collapse all v0 v0.2.23 May 14, 2021 Changes in this version + func CrypterFromKey(key string) crypto.Crypter + func CrypterFromKeyPath(path string) crypto.Crypter + func NewReader(reader io.Reader, key []byte) io.Reader + func NewWriter(writer io.Writer, key []byte) io.WriteCloser + type Crypter struct + Key string + KeyPath string + func (crypter *Crypter) Decrypt(reader io.Reader) (io.Reader, error) + func (crypter *Crypter) Encrypt(writer io.Writer) (io.WriteCloser, error) + type Reader struct + func (reader *Reader) Read(p []byte) (n int, err error) + type Writer struct + func (writer *Writer) Close() (err error) + func (writer *Writer) Write(p []byte) (n int, err error)