BackgroundPbkdf2 class

Pbkdf2 that's optimized to use compute.

Constructors

BackgroundPbkdf2({required MacAlgorithm macAlgorithm, required int bits, required int iterations})

Properties

bits int
Number of bits that will be returned by deriveKey method.
final
hashCode int
The hash code for this object.
no setterinherited
isSupported bool
no setter
iterations int
Number of iterations.
final
macAlgorithm → MacAlgorithm
MAC algorithm.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

deriveKey({required SecretKey secretKey, required List<int> nonce}) Future<SecretKey>
Generates a new secret key from a secret key and a nonce.
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
toSync() → DartPbkdf2
Returns a pure Dart implementation of PBKDF2 with the same parameters.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited