package
7.17.28
Repository: https://github.com/elastic/beats.git
Documentation: pkg.go.dev

# Functions

NewReader returns a new decryption reader.
NewReaderWithDefaults create a decryption io.Reader with the default options.
NewWriter returns a new encrypted Writer.
NewWriterWithDefaults create a new encryption writer with the defaults options.

# Variables

DefaultOptions is the default options to use when creating the writer, changing might decrease the efficacity of the encryption.

# Structs

Option is the default options used to generate the encrypt and decrypt writer.
Reader implements the io.Reader interface and allow to decrypt bytes from the Writer.
Writer is an io.Writer implementation that will encrypt any data that it need to write, before writing any data to the wrapped writer it will lazy write an header with the necessary information to be able to decrypt the data.