PBKDF2 class
The PBKDF2
class is an implementation of the Password-Based Key Derivation Function 2 (PBKDF2) algorithm.
PBKDF2 is a widely-used cryptographic key derivation function that is used to securely derive a cryptographic key from a given password or passphrase. It adds computational expense to make brute-force attacks more difficult by repeatedly applying a pseudorandom function (such as HMAC) to the password along with a salt.
This class provides methods for generating cryptographic keys based on a user-provided password, salt, and the desired number of iterations, producing a derived key that can be used for encryption or other security purposes
Constructors
- PBKDF2()
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
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