Argon2Configuration Class
Namespace: Rebex.Security.Cryptography
Assembly: Rebex.Security.dll (version 8.0.9673)
Configuration for Argon2 class.
Syntax
public class Argon2Configuration : IEquatable<Argon2Configuration>
Implements
Inherited Members
Constructors
| Name | Description |
|---|---|
| Argon2Configuration(Argon2Type, Int32, Int32, Int32) | Initializes a new instance of Argon2Configuration class. |
Properties
| Name | Description |
|---|---|
| Argon2Type | Gets the type of the Argon2 algorithm. Parameter 'y' from Argon2 specification. |
| MemoryCost | Gets the amount of memory used by the Argon2 algorithm, in kilobytes (KB). Parameter 'm' from the Argon2 specification. The effective value is aligned to a multiple of '4 * p' (where 'p' is NumberOfLanes) and raised to a minimum of '8 * p', so very small values use more memory than requested. |
| NumberOfIterations | Gets the number of Argon2 iterations. Parameter 't' from Argon2 specification. |
| NumberOfLanes | Gets the number of the independent computation lanes. Parameter 'p' from Argon2 specification. |
Methods
| Name | Description |
|---|---|
| Equals(Argon2Configuration) | Determines whether the specified |
| Equals(Object) | Determines whether the specified |
| GetHashCode() | Gets a hash code of this object. |
| ToString() | Returns a string representation of this Argon2Configuration. |