System.Security.Authentication.HashAlgorithmType Enumeration

Specifies the algorithm used for generating message authentication codes (MACs).

Syntax

public enum HashAlgorithmType

Remarks

This enumeration specifies valid values for the System.Net.Security.SslStream.HashAlgorithm property.

Members

Member NameDescription
Md5

The Message Digest 5 (MD5) hashing algorithm.

None

No hashing algorithm is used.

Sha1

The Secure Hashing Algorithm (SHA1).

Requirements

Namespace: System.Security.Authentication
Assembly: System (in System.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0