Enum Argon2Type
Argon2 can hash in two different ways, data-dependent and data-independent.
Namespace: Isopoh.Cryptography.Argon2
Assembly: Isopoh.Cryptography.Argon2.dll
Syntax
public enum Argon2Type
Remarks
From the Argon2 paper:
Argon2 has two variants: Argon2d [data-dependent] and Argon2i [data-independent]. Argon2d is faster and uses data-depending memory access, which makes it suitable for crypto currencies and applications with no threats from side-channel timing attacks. Argon2i uses data-independent memory access, which is preferred for password hashing and password-based key derivation. Argon2i is slower as it makes more passes over the memory to protect from tradeoff attacks.
Fields
Name | Description |
---|---|
DataDependentAddressing | Use data-dependent addressing. This is faster but susceptible to side-channel attacks. |
DataIndependentAddressing | Use data-independent addressing. This is slower and recommended for password hashing and password-based key derivation. |
HybridAddressing | Use a hybrid of data-dependent and data-independent addressing. |