Skip to content

IArgon2Options Interface ​

Definition ​

Describes the high-level wrapper around the "Isopoh.Cryptography.Argon2.Argon2Config" class, allowing configuration of Argon2 password hashing with convenient defaults and extensibility.

  • Namespace: JASE.Interfaces
  • Assembly: JASE.dll

Properties ​

NameDescription
HashLengthGets or sets the desired length of the output hash in bytes.
LanesGets or sets the number of lanes (degree of parallelism) used during hashing.
MemoryCostGets or sets the memory cost used in the password hash.
ThreadsGets or sets the number of threads used to compute the hash.
TimeCostGets or sets the time cost (number of iterations) used in the hashing process.
TypeGets or sets the Argon2 variant to use (i.e., Argon2i or Argon2id).

Methods ​

NameDescription
object ToConfig(string password = null)Converts this options instance into an "Isopoh.Cryptography.Argon2.Argon2Config" instance, ready for hashing or verification operations.