CSharpTest.Net
Hash Class Members
See Also  Properties  Methods  Send Feedback Download Help File
CSharpTest.Net.Library Assembly > CSharpTest.Net.Crypto Namespace : Hash Class


Glossary Item Box

The following tables list the members exposed by Hash.

Public Properties

 NameDescription
Public PropertyAlgorithmNameReturns the name of the hash algorithm  
Public PropertyAlgorithmOIDReturns the OID of the hash algorithm  
Public PropertyLengthReturns the length in bytes of the hash code  
Top

Protected Properties

 NameDescription
Protected PropertyHashCodeOverridden. Returns a hash of the hash code :)  
Top

Public Methods

 NameDescription
Public MethodCombineOverloaded. 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.  
Public MethodCompareToOverridden. Compares the hash codes and returns the result  
Public MethodCreateAlgorithmCreates the hash algorithm associated with this length of hash  
Public MethodEqualsOverloaded. Determines whether the specified System.Object is equal to the current System.Object. (Inherited from CSharpTest.Net.Bases.Equatable<Hash>)
Public Methodstatic (Shared in Visual Basic)FromBytesCreates a comparable Hash object from the given hashcode bytes  
Public Methodstatic (Shared in Visual Basic)FromStringCreates a comparable Hash object from the base-64 encoded hashcode bytes  
Public Methodstatic (Shared in Visual Basic)MD5Overloaded. Computes an MD5 hash  
Public Methodstatic (Shared in Visual Basic)SHA1Overloaded. Computes an SHA1 hash  
Public Methodstatic (Shared in Visual Basic)SHA256Overloaded. Computes an SHA256 hash  
Public Methodstatic (Shared in Visual Basic)SHA384Overloaded. Computes an SHA384 hash  
Public Methodstatic (Shared in Visual Basic)SHA512Overloaded. Computes an SHA512 hash  
Public MethodToArrayReturns a copy of the hash code bytes  
Public MethodToStringReturns the hash code as a base-64 encoded string  
Top

See Also

Generated with Document! X 2011 by Innovasys