mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-20 04:18:51 -07:00
6f17a0b7af
* 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
19 lines
504 B
C#
19 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;
|
|
}
|
|
}
|