package
0.9.7
Repository: https://github.com/quinn/restic.git
Documentation: pkg.go.dev

# Functions

Calibrate determines new KDF parameters for the current hardware.
KDF derives encryption and message authentication keys from the password using the supplied parameters N, R and P and the Salt.
NewRandomKey returns new encryption and message authentication keys.
NewRandomNonce returns a new random nonce.
NewSalt returns new random salt bytes to use with KDF().

# Constants

Extension is the number of bytes a plaintext is enlarged by encrypting it.

# Variables

DefaultKDFParams are the default parameters used for Calibrate and KDF().
ErrInvalidCiphertext is returned when trying to encrypt into the slice that holds the plaintext.
ErrUnauthenticated is returned when ciphertext verification has failed.

# Structs

Key holds encryption and message authentication keys for a repository.
MACKey is used to sign (authenticate) data.
Params are the default parameters used for the key derivation function KDF().

# Type aliases

EncryptionKey is key used for encryption.