aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Cryptography/Constants.cs
blob: a4cb62245efe5af04ec8a99d108b25ece36e2d45 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
namespace MediaBrowser.Model.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 = 128 / 8;

        /// <summary>
        /// The default output length.
        /// </summary>
        public const int DefaultOutputLength = 512 / 8;

        /// <summary>
        /// The default amount of iterations for hashing passwords.
        /// </summary>
        public const int DefaultIterations = 210000;
    }
}