HashAlgorithmName
Members
Namespace: ASPSecurityKit
Assembly: ASPSecurityKit.dll
Summary
Represents the name of a cryptographic hash algorithm.
Constructors
#ctor(name)
Summary
Initializes a new instance of the HashAlgorithmName struct.
Parameters
Name | Type | Description |
---|---|---|
name | System.String | The algorithm name. |
Exceptions
Type | Description |
---|---|
System.ArgumentNullException | When name is null or whitespace. |
Properties
MD5
Summary
Gets a hash algorithm name that represents “MD5”.
Value
A hash algorithm name that represents “MD5”.
SHA1
Summary
Gets a hash algorithm name that represents “SHA1”.
Value
A hash algorithm name that represents “SHA1”.
SHA256
Summary
Gets a hash algorithm name that represents “SHA256”.
Value
A hash algorithm name that represents “SHA256”.
SHA384
Summary
Gets a hash algorithm name that represents “SHA384”.
Value
A hash algorithm name that represents “SHA384”.
SHA512
Summary
Gets a hash algorithm name that represents “SHA512”.
Value
A hash algorithm name that represents “SHA512”.
Name
Summary
Gets the algorithm name.
Value
The algorithm name.
Methods
op_Implicit(algorithm)
Summary
Performs an implicit conversion fromHashAlgorithmName to String.
Returns
The algorithm name as string represented by the specified instance.
Parameters
Name | Type | Description |
---|---|---|
algorithm | ASPSecurityKit.HashAlgorithmName)~System.String~system/string ‘ASPSecurityKit.HashAlgorithmName)~System.String’) | The algorithm to convert. |