Struct Pbkdf2Settings
Contiene valores de configuración a utilizar para derivar contraseñas utilizando el algoritmo PBKDF2.
Implements
Inherited Members
Namespace: TheXDS.MCART.Security
Assembly: MCART.Security.dll
Syntax
public readonly record struct Pbkdf2Settings : IEquatable<Pbkdf2Settings>
Constructors
| Edit this page View SourcePbkdf2Settings(byte[], int, string?, int)
Contiene valores de configuración a utilizar para derivar contraseñas utilizando el algoritmo PBKDF2.
Declaration
public Pbkdf2Settings(byte[] Salt, int Iterations, string? HashFunction, int DerivedKeyLength)
Parameters
Type | Name | Description |
---|---|---|
byte[] | Salt | Bloque de sal a utilizar para derivar la clave. |
int | Iterations | Iteraciones de PBKDF2 a ejecutar para derivar la clave. |
string | HashFunction | Nombre del algoritmo hash a utilizar para derivar la clave. |
int | DerivedKeyLength | Cantidad de bytes a derivar. |
Properties
| Edit this page View SourceDerivedKeyLength
Cantidad de bytes a derivar.
Declaration
public int DerivedKeyLength { get; init; }
Property Value
Type | Description |
---|---|
int |
HashFunction
Nombre del algoritmo hash a utilizar para derivar la clave.
Declaration
public string? HashFunction { get; init; }
Property Value
Type | Description |
---|---|
string |
Iterations
Iteraciones de PBKDF2 a ejecutar para derivar la clave.
Declaration
public int Iterations { get; init; }
Property Value
Type | Description |
---|---|
int |
Salt
Bloque de sal a utilizar para derivar la clave.
Declaration
public byte[] Salt { get; init; }
Property Value
Type | Description |
---|---|
byte[] |