crypto/kdf library

Key derivation function (KDF) algorithms.

Classes

Argon2idKdf
Argon2id KDF wrapper that accepts password bytes.
HashKdf
RFC 5054 compliant hash-based KDF.
Kdf
Key derivation function (KDF) interface.

Enums

KdfChoice
Key derivation functions (KDFs) available for deriving user private keys.

Functions

createArgon2idKdf({int parallelism = 4, int memoryInKB = 65536, int iterations = 3, int hashLength = 32, void onDeriveComplete(int durationMs)?}) Argon2idKdf
Creates a custom Argon2id KDF with specified parameters.
getKdf(KdfChoice choice) Kdf
Returns a Kdf implementation for the given choice.