6 private readonly
string _name;
30 public string Name => _name;
43 return _name ??
string.Empty;
50 public override bool Equals(
object obj)
65 return _name == other._name;
74 return _name.GetHashCode();
96 return !(left == right);
Computes the T:System.Security.Cryptography.SHA384 hash for the input data.
Computes the T:System.Security.Cryptography.SHA256 hash for the input data.
bool Equals(HashAlgorithmName other)
Returns a value that indicates whether two T:System.Security.Cryptography.HashAlgorithmName instances...
string Name
Gets the underlying string representation of the algorithm name.
HashAlgorithmName(string name)
Initializes a new instance of the T:System.Security.Cryptography.HashAlgorithmName structure with a c...
Represents the abstract class from which all implementations of the T:System.Security....
Computes the T:System.Security.Cryptography.SHA512 hash for the input data.
override bool Equals(object obj)
Returns a value that indicates whether the current instance and a specified object are equal.
Specifies the name of a cryptographic hash algorithm.
static bool operator==(HashAlgorithmName left, HashAlgorithmName right)
Determines whether two specified T:System.Security.Cryptography.HashAlgorithmName objects are equal.
override string ToString()
Returns the string representation of the current T:System.Security.Cryptography.HashAlgorithmName ins...
override int GetHashCode()
Returns the hash code for the current instance.
static bool operator !=(HashAlgorithmName left, HashAlgorithmName right)
Determines whether two specified T:System.Security.Cryptography.HashAlgorithmName objects are not equ...
Defines a generalized method that a value type or class implements to create a type-specific method f...
Computes the T:System.Security.Cryptography.SHA1 hash for the input data.