Class PasswordHasherOptions
Defined parameter for PasswordHasher.
Inheritance
System.Object
PasswordHasherOptions
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
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(UInt32, UInt16, UInt16)
Create and initialize a new instance of PasswordHasherOptions.
Declaration
public PasswordHasherOptions(uint iterations, ushort saltLength, ushort hashLength)
Parameters
Type | Name | Description |
---|---|---|
System.UInt32 | iterations | The iterations value. |
System.UInt16 | saltLength | The length of salt array |
System.UInt16 | hashLength | The length of hash array |
Properties
View SourceHashLength
Gets a length of hash array.
Declaration
public ushort HashLength { get; }
Property Value
Type | Description |
---|---|
System.UInt16 |
Iterations
Gets the iterations value.
Declaration
public uint Iterations { get; }
Property Value
Type | Description |
---|---|
System.UInt32 |
SaltLength
Gets a length of salt array.
Declaration
public ushort SaltLength { get; }
Property Value
Type | Description |
---|---|
System.UInt16 |