Skip to content

Argon2Options Class ​

Definition ​

Provides a high-level wrapper around the Argon2Config class, allowing configuration of Argon2 password hashing with convenient defaults and extensibility.

  • Namespace: JASE.Crypto
  • Assembly: JASE.Crypto.dll

Constructors ​

NameDescription
Argon2Options(int hashLength = null, int memoryCost = null, int threads = null, int timeCost = null, Argon2Type type = null)Create a new instance of Argon2Options

Properties ​

NameDescription
Default
HashLength
Lanes
MemoryCost
Threads
TimeCost
Type

Methods ​

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