Table of Contents

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

short

md5

public const short md5 = 1

Field Value

short

none

public const short none = 0

Field Value

short

sha1

public const short sha1 = 2

Field Value

short

sha224

public const short sha224 = 3

Field Value

short

sha256

public const short sha256 = 4

Field Value

short

sha384

public const short sha384 = 5

Field Value

short

sha512

public const short sha512 = 6

Field Value

short

Methods

GetName(short)

public static string GetName(short hashAlgorithm)

Parameters

hashAlgorithm short

Returns

string

GetOutputSize(short)

public static int GetOutputSize(short hashAlgorithm)

Parameters

hashAlgorithm short

Returns

int

GetText(short)

public static string GetText(short hashAlgorithm)

Parameters

hashAlgorithm short

Returns

string

IsPrivate(short)

public static bool IsPrivate(short hashAlgorithm)

Parameters

hashAlgorithm short

Returns

bool

IsRecognized(short)

public static bool IsRecognized(short hashAlgorithm)

Parameters

hashAlgorithm short

Returns

bool