FlutterPbkdf2 class

Pbkdf2 that uses platform APIs in Android.

Constructors

FlutterPbkdf2({required MacAlgorithm macAlgorithm, required int bits, required int iterations, Pbkdf2? fallback})

Properties

bits int
Number of bits that will be returned by deriveKey method.
final
fallback → Pbkdf2?
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.
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