Kdf class abstract
Key derivation function (KDF) interface.
This interface allows users to provide custom KDF implementations while maintaining compatibility with the SRP protocol.
Used in SRP for private key derivation. Since this KDF creates password equivalent data, it is critical to use an intentionally slow KDF to reduce likelihood of brute force attacks succeeding in extracting the password.
- Implementers
Constructors
- Kdf()
Properties
Methods
-
deriveKeyFromPasswordBytes(
{required Uint8List passwordBytes, required Uint8List salt, Uint8List? userIdBytes}) → Future< Uint8List> - Derives a key from password bytes and salt.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited