RHash
1.0.1.1
System.Object
Incremental hasher.
This class allows you to do incremental hashing for set of hashing algorithms.
Constructor
1.0.1.1
Type of hashing algorithm.
Creates new Hasher to compute message digest for given type.
To be added.
Constructor
1.0.1.1
Mask created of one or more values.
Creates new Hasher to compute message digests for given set of hashing algorithms.
Mask should be created from ORed HashType values. The next example will create Hasher that computes both CRC32 and MD5 sums:
new Hasher((uint)HashType.CRC32 | (uint)HashType.MD5);
Argument is zero or contains invalid bits.
Method
1.0.1.1
System.Void
Called by garbage collector to free native resources.
To be added.
Method
1.0.1.1
System.Void
Finishes calculation of message digests.
Processes any buffered data and finishes computation of message digests.
Method
1.0.1.1
System.String
File to compute message digest for.
Type of message digest to compute.
Computes message digest for given file.
Message digest as returned by .
To be added.
Method
1.0.1.1
System.String
Binary message to compute message digest for.
Type of message digest to compute.
Computes message digest for given binary message.
Message digest, as returned by .
To be added.
Method
1.0.1.1
System.String
File path to be included in magnet. May be null.
Generates magnet link with given filename.
Magnet link.
Magnet includes all message digests computed by this hasher. If filepath is null then returned magnet does not contain a filename.
Method
1.0.1.1
System.String
File path to be included in magnet. May be null.
Mask created from one or more values.
Generates magnet link with given filename and message digests.
Magnet link.
Only message digests that were computed by this Hasher are included in the output. If filepath is null then returned magnet does not contain a filename.
Method
1.0.1.1
System.String
File to process.
Mask created of one or more values.
Generates magnet link for specified file with given message digests.
Magnet link.
Returned magnet link includes file name and all computed message digests.
Method
1.0.1.1
System.Void
Resets this Hasher to initial state.
The Hasher becomes available to process new data chunks.
Note, that this method returns Hasher to the state after creating
the object, NOT the state when hashing continues.
Therefore, all previously calculated message digests are lost
and the process starts from the very beginning.
Method
1.0.1.1
System.String
Type of hashing algorithm.
Returns value of computed digest as base32 string.
Message digest in form of base32 string.
To be added.
This Hasher does not compute message digest of given type.
Method
1.0.1.1
System.String
Type of hashing algorithm.
Returns value of computed digest as base64 string.
Message digest in form of base64 string.
To be added.
This Hasher does not compute message digest of given type.
Method
1.0.1.1
System.String
Type of hashing algorithm.
Returns value of computed digest as hexadecimal string.
Message digest in form of hexadecimal string.
To be added.
This Hasher does not compute message digest of given type.
Method
1.0.1.1
System.String
Type of hashing algorithm.
Returns value of computed digest as raw bytes encoded in ANSI string.
Message digest as raw bytes encoded in an ANSI string.
To be added.
This Hasher does not compute message digest of given type.
Method
1.0.1.1
System.String
Returns value of computed digest as string in default format.
Message digest as string.
For Hasher created using constructor, this method returns the same string as method with the message digest type used in constructor.
Method
1.0.1.1
System.String
Type of hashing algorithm.
Returns value of computed digest as string in default format.
Message digest for given hashing algorithm.
If default output for hashing algorithm is base32 then
returned value is the same as if method was called;
otherwise value is the same as returned by method.
This Hasher does not compute message digest of given type.
Method
1.0.1.1
RHash.Hasher
Data for hashing.
Updates this Hasher with new data chunk.
This hasher.
To be added.
Method
1.0.1.1
RHash.Hasher
Data for hashing.
Number of bytes in the array to process.
Updates this Hasher with new data chunk.
This Hasher.
To be added.
Argument len is negative or greater than buffer length.
Method
1.0.1.1
RHash.Hasher
Name of the file to process.
Updates this Hasher with data from given file.
This Hasher.
To be added.