Appearance
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
| Name | Description |
|---|---|
Argon2Options(int hashLength = null, int memoryCost = null, int threads = null, int timeCost = null, Argon2Type type = null) | Create a new instance of Argon2Options |
Properties
| Name | Description |
|---|---|
Default | |
HashLength | |
Lanes | |
MemoryCost | |
Threads | |
TimeCost | |
Type |
Methods
| Name | Description |
|---|---|
object ToConfig(string password = null) | Converts this options instance into an Argon2Config instance, ready for hashing or verification operations. |