Versions in this module Expand all Collapse all v0 v0.4.0 Jan 1, 2024 Changes in this version + const CipherTextMinLength + const KeyLength + type Cipher struct + func New(key []byte) (*Cipher, error) + func (cipher *Cipher) NewDecryptingReader(src io.Reader) (io.ReadCloser, error) + func (cipher *Cipher) NewEncryptingWriter(dst io.Writer, compression bool) (io.WriteCloser, error) + type Reader struct + func (r *Reader) Read(p []byte) (int, error) + type Writer struct + func (w *Writer) Close() error + func (w *Writer) Write(p []byte) (n int, err error)