Table of Contents

Class HashAlgorithm

Namespace
Enterprises.Org.BouncyCastle.Crypto.Tls
Assembly
Enterprises.BouncyCastle.Crypto.dll
public abstract class HashAlgorithm
Inheritance
HashAlgorithm
Inherited Members

Constructors

HashAlgorithm()

protected HashAlgorithm()

Fields

md5

public const byte md5 = 1

Field Value

byte

none

public const byte none = 0

Field Value

byte

sha1

public const byte sha1 = 2

Field Value

byte

sha224

public const byte sha224 = 3

Field Value

byte

sha256

public const byte sha256 = 4

Field Value

byte

sha384

public const byte sha384 = 5

Field Value

byte

sha512

public const byte sha512 = 6

Field Value

byte

Methods

GetName(byte)

public static string GetName(byte hashAlgorithm)

Parameters

hashAlgorithm byte

Returns

string

GetText(byte)

public static string GetText(byte hashAlgorithm)

Parameters

hashAlgorithm byte

Returns

string

IsPrivate(byte)

public static bool IsPrivate(byte hashAlgorithm)

Parameters

hashAlgorithm byte

Returns

bool

IsRecognized(byte)

public static bool IsRecognized(byte hashAlgorithm)

Parameters

hashAlgorithm byte

Returns

bool