PBKDF2 class Null safety

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
read / write
hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

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 non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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