The following tables list the members exposed by Hash.
Name | Description | |
---|---|---|
AlgorithmName | Returns the name of the hash algorithm | |
AlgorithmOID | Returns the OID of the hash algorithm | |
Length | Returns the length in bytes of the hash code |
Name | Description | |
---|---|---|
Combine | Overloaded. If the hash provided is the same size as this hash both hash codes are feed back into the hash algorithm associated with this length of hash to produce the result value. If the hash provided is a different length, it is first hashed with this algorithm before the two values are combined. | |
CompareTo | Overridden. Compares the hash codes and returns the result | |
CreateAlgorithm | Creates the hash algorithm associated with this length of hash | |
Equals | Overloaded. Determines whether the specified System.Object is equal to the current System.Object. (Inherited from CSharpTest.Net.Bases.Equatable<Hash>) | |
FromBytes | Creates a comparable Hash object from the given hashcode bytes | |
FromString | Creates a comparable Hash object from the base-64 encoded hashcode bytes | |
MD5 | Overloaded. Computes an MD5 hash | |
SHA1 | Overloaded. Computes an SHA1 hash | |
SHA256 | Overloaded. Computes an SHA256 hash | |
SHA384 | Overloaded. Computes an SHA384 hash | |
SHA512 | Overloaded. Computes an SHA512 hash | |
ToArray | Returns a copy of the hash code bytes | |
ToString | Returns the hash code as a base-64 encoded string |