Show / Hide Table of Contents

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 Source

PasswordHasherOptions()

Create and initialize a new instance of PasswordHasherOptions using default parameter.

Declaration
public PasswordHasherOptions()
View Source

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 Source

HashLength

Gets a length of hash array.

Declaration
public ushort HashLength { get; }
Property Value
Type Description
System.UInt16
View Source

Iterations

Gets the iterations value.

Declaration
public uint Iterations { get; }
Property Value
Type Description
System.UInt32
View Source

SaltLength

Gets a length of salt array.

Declaration
public ushort SaltLength { get; }
Property Value
Type Description
System.UInt16

Extension Methods

CollectionExtensions.AddRange<T, TCollection>(TCollection, IEnumerable<T>)
SerializableObjectCloneExtension.Clone<T>(T)
  • View Source
Back to top Generated by DocFX