CryptoHashAlgorithm.cs 515 B

12345678910111213141516171819
  1. #if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
  2. #pragma warning disable
  3. using System;
  4. namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Tls.Crypto
  5. {
  6. public abstract class CryptoHashAlgorithm
  7. {
  8. public const int md5 = 1;
  9. public const int sha1 = 2;
  10. public const int sha224 = 3;
  11. public const int sha256 = 4;
  12. public const int sha384 = 5;
  13. public const int sha512 = 6;
  14. public const int sm3 = 7;
  15. }
  16. }
  17. #pragma warning restore
  18. #endif