Argon2Type enum
Argon2 variants (RFC 9106).
Values
- d → const Argon2Type
-
Data-dependent addressing. Fastest, but weaker against side channels.
const Argon2Type('ARGON2D', pure.Argon2Parameters.ARGON2_d) - i → const Argon2Type
-
Data-independent addressing. Side-channel resistant, weaker against time-memory trade-off attacks.
const Argon2Type('ARGON2I', pure.Argon2Parameters.ARGON2_i) - id → const Argon2Type
-
Hybrid of d and i. The one to use for password hashing.
const Argon2Type('ARGON2ID', pure.Argon2Parameters.ARGON2_id)
Properties
- code → int
-
Numeric type as encoded in the PHC string (
$argon2id$).final - hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - opensslName → String
-
Algorithm name as OpenSSL's
EVP_KDF_fetchexpects it.final - phcName → String
-
Name used in the PHC string.
no setter
- 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
-
values
→ const List<
Argon2Type> - A constant List of the values in this enum, in order of their declaration.