Table of Contents

Class Argon2Settings

Namespace
GastroSky.Models.Settings
Assembly
GastroSky.Models.dll

Argon2 cost parameter settings.

public sealed class Argon2Settings
Inheritance
Argon2Settings
Inherited Members

Properties

HashLength

How long Argon2 hashes should be. Recommended minimum value: 64.

public int HashLength { get; set; }

Property Value

int

MemoryCostKiB

Argon2 memory cost parameter: amount of KiB. Recommended minimum value: 16384

public int MemoryCostKiB { get; set; }

Property Value

int

Parallelism

Argon2 parallelism cost parameter: amount of threads. Recommended minimum value: 2.

public int Parallelism { get; set; }

Property Value

int

SaltLength

Salt length. Recommended minimum value: 32.

public int SaltLength { get; set; }

Property Value

int

SectionName

public static string SectionName { get; }

Property Value

string

TimeCost

Argon2 time cost parameter: amount of iterations. Recommended minimum value: 32

public int TimeCost { get; set; }

Property Value

int