//
// Copyright (c) alveus.dev. All rights reserved. Licensed under the MIT License.
//
namespace Astral.Services.Options;
///
/// How the password should be hashed.
/// Refer to https://argon2-cffi.readthedocs.io/en/stable/argon2.html.
///
public class PwdHashOptions
{
///
/// Number of threads to use. (Higher the better).
///
public int DegreeOfParallelism { get; set; }
///
/// Number of iterations over the memory.
///
public int NumberOfIterations { get; set; }
///
/// Memory used by the algorithm.
///
public int MemoryToUseKb { get; set; }
///
/// Salt size in bytes.
///
public int SaltSize { get; set; }
///
/// Hash size in bytes.
///
public int HashSize { get; set; }
}