Class HashAlgorithm
- Namespace
- Org.BouncyCastle.Tls
- Assembly
- BouncyCastle.Cryptography.dll
RFC 5246 7.4.1.4.1
public abstract class HashAlgorithm
- Inheritance
-
HashAlgorithm
- Inherited Members
Fields
Intrinsic
public const short Intrinsic = 8
Field Value
md5
public const short md5 = 1
Field Value
none
public const short none = 0
Field Value
sha1
public const short sha1 = 2
Field Value
sha224
public const short sha224 = 3
Field Value
sha256
public const short sha256 = 4
Field Value
sha384
public const short sha384 = 5
Field Value
sha512
public const short sha512 = 6
Field Value
Methods
GetName(short)
public static string GetName(short hashAlgorithm)
Parameters
hashAlgorithmshort
Returns
GetOutputSize(short)
public static int GetOutputSize(short hashAlgorithm)
Parameters
hashAlgorithmshort
Returns
GetText(short)
public static string GetText(short hashAlgorithm)
Parameters
hashAlgorithmshort
Returns
IsPrivate(short)
public static bool IsPrivate(short hashAlgorithm)
Parameters
hashAlgorithmshort
Returns
IsRecognized(short)
public static bool IsRecognized(short hashAlgorithm)
Parameters
hashAlgorithmshort