KeyDerivation class

A class that represents a key derivation function in the Noise Protocol Framework.

Constructors

KeyDerivation(Uint8List key)
Creates a new KeyDerivation instance with the given key.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
secret → SecretKey
final

Methods

deriveKey(int length, {Uint8List? salt}) Future<List<int>>
Derives a new key with the given length and optional 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