jellyfin-server/MediaBrowser.Common/Cryptography/Constants.cs
Bond-009 6f17a0b7af Remove legacy auth code (#1677)
* 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
2019-09-17 12:07:15 -04:00

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;
}
}