Show / Hide Table of Contents

Struct Pbkdf2Settings

Contains configuration values used to derive passwords with PBKDF2.

Implements
IEquatable<Pbkdf2Settings>
Inherited Members
ValueType.Equals(object)
ValueType.GetHashCode()
ValueType.ToString()
object.Equals(object, object)
object.GetType()
object.ReferenceEquals(object, object)
Namespace: TheXDS.MCART.Security
Assembly: MCART.Security.dll
Syntax
public readonly record struct Pbkdf2Settings : IEquatable<Pbkdf2Settings>

Constructors

| Edit this page View Source

Pbkdf2Settings(byte[], int, string?, int)

Contains configuration values used to derive passwords with PBKDF2.

Declaration
public Pbkdf2Settings(byte[] Salt, int Iterations, string? HashFunction, int DerivedKeyLength)
Parameters
Type Name Description
byte[] Salt

Salt block used for key derivation.

int Iterations

Number of PBKDF2 iterations.

string HashFunction

Name of the hash algorithm used.

int DerivedKeyLength

Number of bytes to derive.

Properties

| Edit this page View Source

DerivedKeyLength

Number of bytes to derive.

Declaration
public int DerivedKeyLength { get; init; }
Property Value
Type Description
int
| Edit this page View Source

HashFunction

Name of the hash algorithm used.

Declaration
public string? HashFunction { get; init; }
Property Value
Type Description
string
| Edit this page View Source

Iterations

Number of PBKDF2 iterations.

Declaration
public int Iterations { get; init; }
Property Value
Type Description
int
| Edit this page View Source

Salt

Salt block used for key derivation.

Declaration
public byte[] Salt { get; init; }
Property Value
Type Description
byte[]

Implements

IEquatable<T>

Extension Methods

Objects.ShallowCopyTo(object, object, Type)
ObjectExtensions.FieldsOf<T>(object)
ObjectExtensions.GetAttribute<T>(object)
ObjectExtensions.GetAttributes<T>(object)
ObjectExtensions.HasAttrValue<TAttribute, TValue>(object, out TValue)
ObjectExtensions.HasAttribute<T>(object)
ObjectExtensions.HasAttribute<T>(object, out T?)
ObjectExtensions.HasAttributes<T>(object, out IEnumerable<T>?)
ObjectExtensions.Is(object?, object?)
ObjectExtensions.IsEither(object, IEnumerable)
ObjectExtensions.IsEither(object, params object[])
ObjectExtensions.IsNeither(object, IEnumerable)
ObjectExtensions.IsNeither(object, params object[])
ObjectExtensions.IsNot(object?, object?)
ObjectExtensions.PropertiesOf<T>(object)
ObjectExtensions.WhichAre(object, IEnumerable<object>)
ObjectExtensions.WhichAre(object, params object[])
Objects.Itself<T>(T)
Objects.ShallowClone<T>(T)
Objects.ShallowCopyTo<T>(T, T)
CollectionExtensions.PushInto<TItem, TCollection>(TItem, ICollection<TCollection>)
DictionaryExtensions.PushInto<TKey, TValue>(TValue, TKey, IDictionary<TKey, TValue>)
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX