Kdf class abstract
A meta class that provides access to all libsodium kdf APIs.
This class provides the dart interface for the crypto operations documented in https://libsodium.gitbook.io/doc/key_derivation. Please refer to that documentation for more details about these APIs.
Properties
- bytesMax → int
-
Provides crypto_kdf_BYTES_MAX.
no setter
- bytesMin → int
-
Provides crypto_kdf_BYTES_MIN.
no setter
- contextBytes → int
-
Provides crypto_kdf_CONTEXTBYTES.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- keyBytes → int
-
Provides crypto_kdf_KEYBYTES.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
deriveFromKey(
{required SecureKey masterKey, required String context, required BigInt subkeyId, required int subkeyLen}) → SecureKey - Provides crypto_kdf_derive_from_key.
-
keygen(
) → SecureKey - Provides crypto_kdf_keygen.
-
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