PBKDF2Security class
This contains some recommended parameters for PBKDF2 algorithm.
Constructors
-
PBKDF2Security.new(String name, {required int c, required MACHash<
HashDigestSink> mac, required int dklen}) -
const
Properties
- c → int
-
The number of iterations
final
- dklen → int
-
The length of the derived key
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
mac
→ MACHash<
HashDigestSink> -
The underlying algorithm
final
- name → String
-
final
- 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
Constants
- good → const PBKDF2Security
- Provides good security.
- little → const PBKDF2Security
- Provides low security. Can be used on low-end devices.
- moderate → const PBKDF2Security
- Provides moderate security.
- owasp → const PBKDF2Security
- Provides strong security recommended by OWASP.
- owasp2 → const PBKDF2Security
- Provides strong security recommended by OWASP.
- owasp3 → const PBKDF2Security
- Provides strong security recommended by OWASP.
- strong → const PBKDF2Security
- Provides strong security. It uses similar parameters as owasp2.
- test → const PBKDF2Security
- Provides a very low security. Use it only for test purposes.