<PackageReference Include="BouncyCastle.Cryptography" Version="2.7.0" />

Org.BouncyCastle.Crypto.Parameters.Argon2Parameters

public sealed class Argon2Parameters
public sealed class Builder

Fluent builder for Argon2Parameters.

public static readonly int Argon2d

Argon2d - data-dependent memory access.

public static readonly int Argon2i

Argon2i - data-independent memory access.

public static readonly int Argon2id

Argon2id - hybrid of Argon2i and Argon2d.

public static readonly int Version10

Argon2 v1.0 (legacy).

public static readonly int Version13

Argon2 v1.3 - the version standardised by RFC 9106.

public int Iterations { get; }

public int Memory { get; }

public int Parallelism { get; }

public int Type { get; }

public int Version { get; }

public void Clear()

Zeroise sensitive state (salt, secret, additional) held by these parameters.

public byte[] GetAdditional()

public byte[] GetSalt()

public byte[] GetSecret()