Appearance
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
| Name | Description |
|---|---|
HashLength | Gets or sets the desired length of the output hash in bytes. |
Lanes | Gets or sets the number of lanes (degree of parallelism) used during hashing. |
MemoryCost | Gets or sets the memory cost used in the password hash. |
Threads | Gets or sets the number of threads used to compute the hash. |
TimeCost | Gets or sets the time cost (number of iterations) used in the hashing process. |
Type | Gets or sets the Argon2 variant to use (i.e., Argon2i or Argon2id). |
Methods
| Name | Description |
|---|---|
object ToConfig(string password = null) | Converts this options instance into an "Isopoh.Cryptography.Argon2.Argon2Config" instance, ready for hashing or verification operations. |