public enum Argon2TypePublic Enumeration Argon2Typepublic enum class Argon2TypeGemstone.Security.Cryptography.Argon2Hash.Argon2Type = function();
Gemstone.Security.Cryptography.Argon2Hash.Argon2Type.createEnum('Gemstone.Security.Cryptography.Argon2Hash.Argon2Type', false);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.
| DataDependentAddressing | 0 | Use data-dependent addressing. This is faster but susceptible to side-channel attacks. |
| DataIndependentAddressing | 1 | Use data-independent addressing. This is slower and recommended for password hashing and password-based key derivation. |
| HybridAddressing | 2 | Use a hybrid of data-dependent and data-independent addressing. |