//-----------------------------------------------------------------------
//
// Copyright (c) lanedirt. All rights reserved.
// Licensed under the AGPLv3 license. See LICENSE.md file in the project root for full license information.
//
//-----------------------------------------------------------------------
namespace AliasVault.Cryptography.Client;
///
/// Cryptography defaults.
///
public static class Defaults
{
///
/// Gets the default encryption type.
///
public static string EncryptionType { get; } = "Argon2Id";
///
/// Gets the default degree of parallelism for Argon2id.
///
public static int Argon2IdDegreeOfParallelism { get; } = 1;
///
/// Gets the default memory size for Argon2id (in KB).
///
public static int Argon2IdMemorySize { get; } = 19456;
///
/// Gets the default number of iterations for Argon2id.
///
public static int Argon2IdIterations { get; } = 2;
///
/// Gets the default encryption settings.
///
public static string EncryptionSettings { get; } = $"{{\"DegreeOfParallelism\":{Argon2IdDegreeOfParallelism},\"MemorySize\":{Argon2IdMemorySize},\"Iterations\":{Argon2IdIterations}}}";
}