You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
651 B
24 lines
651 B
3 years ago
|
namespace MediaBrowser.Model.Cryptography
|
||
5 years ago
|
{
|
||
|
/// <summary>
|
||
|
/// Class containing global constants for Jellyfin Cryptography.
|
||
|
/// </summary>
|
||
|
public static class Constants
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// The default length for new salts.
|
||
|
/// </summary>
|
||
3 years ago
|
public const int DefaultSaltLength = 128 / 8;
|
||
|
|
||
|
/// <summary>
|
||
|
/// The default output length.
|
||
|
/// </summary>
|
||
|
public const int DefaultOutputLength = 512 / 8;
|
||
5 years ago
|
|
||
|
/// <summary>
|
||
|
/// The default amount of iterations for hashing passwords.
|
||
|
/// </summary>
|
||
3 years ago
|
public const int DefaultIterations = 120000;
|
||
5 years ago
|
}
|
||
|
}
|