Skip to content

Argon2Type Enum ​

Wrapper for Isopoh.Cryptography.Argon2

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.

Namespace: JASE.Crypto
Assembly: JASE.dll

Underlying Type int

Fields ​

NameValueDescription
DataDependentAddressing0Use data-dependent addressing. This is faster but susceptible to side-channel attacks.
DataIndependentAddressing1Use data-independent addressing. This is slower and recommended for password hashing and password-based key derivation.
HybridAddressing2Use a hybrid of data-dependent and data-independent addressing.