Files
secure-core/SecureCore/Authentication/Settings.cs
T

14 lines
478 B
C#

using Microsoft.AspNetCore.Cryptography.KeyDerivation;
namespace SecureCore.Authentication
{
public static class Settings
{
public static int Iterations { get; } = 100000;
public static KeyDerivationPrf KeyType { get; } = KeyDerivationPrf.HMACSHA512;
public static int KeySize { get; } = 512 / 8;
public static int SaltSize { get; } = 128 / 8; //128 bit salt
public static int SessionKeySize { get; } = 32; //32 bytes
}
}