mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-08 12:28:19 +02:00
* Remove legacy auth code * Adds tests so we don't break PasswordHash (again) * Clean up interfaces * Remove duplicate code * Use auto properties * static using * Don't use 'this' * Fix build
18 lines
504 B
C#
18 lines
504 B
C#
namespace MediaBrowser.Common.Cryptography
|
|
{
|
|
/// <summary>
|
|
/// Class containing global constants for Jellyfin Cryptography.
|
|
/// </summary>
|
|
public static class Constants
|
|
{
|
|
/// <summary>
|
|
/// The default length for new salts.
|
|
/// </summary>
|
|
public const int DefaultSaltLength = 64;
|
|
|
|
/// <summary>
|
|
/// The default amount of iterations for hashing passwords.
|
|
/// </summary>
|
|
public const int DefaultIterations = 1000;
|
|
}
|
|
}
|