package
0.0.0-20241028134216-7bf8b198479d
Repository: https://github.com/karalef/quark.git
Documentation: pkg.go.dev

# Functions

ByName returns the KDF by the provided name.
Derive is an alias for Scheme.New and KDF.Derive.
FromHash creates a new Scheme from a hash scheme.
FromHash creates a new Scheme from a XOF scheme.
ListAll returns all registered KDF algorithms.
ListSchemes returns all registered KDF schemes.
New creates a new scheme.
Register registers a KDF.

# Variables

Argon2i KDF.
Argon2id KDF.
ErrPassword is returned when the password is empty.
Scrypt is a scrypt KDF.

# Structs

Argon2Cost represents the Argon2 key derivation function cost parameters.
ErrInvalidParams is returned when the parameters are invalid.
NoCost is used for not configurable KDFs.
ScryptCost represents the Scrypt key derivation function cost parameters.

# Interfaces

Cost represents the key derivation function cost parameters.
KDF represents the key derivation function.
Scheme represents the key derivation function.

# Type aliases

Func represents the KDF as function.