package
2.5.0
Repository: https://github.com/ethersphere/bee.git
Documentation: pkg.go.dev

# Functions

New returns a new Encryptor configured with provided options.
No description provided by the author
WithDecryptFunc sets the Encryptor Decrypt function.
WithEncryptFunc sets the Encryptor Encrypt function.
WithKeyFunc sets the Encryptor Key function.
WithResetFunc sets the Encryptor Reset function.
WithXOREncryption sets Encryptor Encrypt and Decrypt functions with XOR encryption function that uses the provided key for encryption.

# Variables

ErrInvalidXORKey is returned when the key for XOR encryption is not valid.
ErrNotImplemented is returned when a required Encryptor function is not set.

# Structs

Encryptor implements encryption Interface in order to mock it in tests.

# Type aliases

Option represents configures the Encryptor instance.