Constants.cs 651 B

1234567891011121314151617181920212223
  1. namespace MediaBrowser.Model.Cryptography
  2. {
  3. /// <summary>
  4. /// Class containing global constants for Jellyfin Cryptography.
  5. /// </summary>
  6. public static class Constants
  7. {
  8. /// <summary>
  9. /// The default length for new salts.
  10. /// </summary>
  11. public const int DefaultSaltLength = 128 / 8;
  12. /// <summary>
  13. /// The default output length.
  14. /// </summary>
  15. public const int DefaultOutputLength = 512 / 8;
  16. /// <summary>
  17. /// The default amount of iterations for hashing passwords.
  18. /// </summary>
  19. public const int DefaultIterations = 210000;
  20. }
  21. }