Class PasswordHasherOptions
Defined parameter for PasswordHasher.
Namespace: Sartorius.SAF.Security
Assembly: Sartorius.SAF.dll
Syntax
public class PasswordHasherOptions
Constructors
View SourcePasswordHasherOptions()
Create and initialize a new instance of PasswordHasherOptions using default parameter.
Declaration
public PasswordHasherOptions()
PasswordHasherOptions(uint, ushort, ushort)
Create and initialize a new instance of PasswordHasherOptions.
Declaration
public PasswordHasherOptions(uint iterations, ushort saltLength, ushort hashLength)
Parameters
| Type | Name | Description |
|---|---|---|
| uint | iterations | The iterations value. |
| ushort | saltLength | The length of salt array |
| ushort | hashLength | The length of hash array |
Properties
View SourceHashLength
Gets a length of hash array.
Declaration
public ushort HashLength { get; }
Property Value
| Type | Description |
|---|---|
| ushort |
Iterations
Gets the iterations value.
Declaration
public uint Iterations { get; }
Property Value
| Type | Description |
|---|---|
| uint |
SaltLength
Gets a length of salt array.
Declaration
public ushort SaltLength { get; }
Property Value
| Type | Description |
|---|---|
| ushort |