PBKDF2 class

Instances of this type derive a key from a password, salt, and hash function.

https://en.wikipedia.org/wiki/PBKDF2

Constructors

PBKDF2({Hash? hashAlgorithm})
Creates instance capable of generating a key.

Properties

hashAlgorithm ↔ Hash
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

generateBase64Key(String password, String salt, int rounds, int keyLength) String
Hashed a password with a given salt and base64 encodes the result.
generateKey(String password, String salt, int rounds, int keyLength) List<int>
Hashes a password with a given 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