DartHkdf class

Hkdf implemented in pure Dart.

For examples and more information about the algorithm, see documentation for the class Hkdf.

Inheritance

Constructors

DartHkdf({required Hmac hmac, required int outputLength})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
hmac Hmac
final
outputLength int
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

deriveKey({required SecretKey secretKey, List<int> nonce = const <int>[], List<int> info = const <int>[]}) Future<SecretKeyData>
Generates a new secret key from a secret key and a nonce.
override
deriveKeyFromPassword({required String password, required List<int> nonce}) Future<SecretKey>
Generates a new secret key from a password and a nonce.
inherited
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