aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Common/Cryptography/Constants.cs
blob: 3541142327584b29ea81b335b32f9baf26464bfa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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;
    }
}