MD5 Checksum Component
The MD5 checksum component allows you to calculate a "message digest" code on
any file or string of text. This digest consists of a 128-bit code which can
act as a digital signature for documents, files and virtually any kind of digital
data.
This is often used to authenticate that the version of a file you have downloaded
is not corrupt. It can also be used to differentiate between different versions
of documents since any change, no matter how minor, will change the signature. If
you are still unsure what this component is used for, then it is not for you.
RFC 1321 - MD5 Algorithm
Documentation
Before you begin, you will need to download the component and register it on
your web server using the following command:
regsvr32 MD5.dll
Properties
Defines the properties this object has:
| Property |
Description |
| Error |
If your method call to calculate an MD5 returned an empty string, you
should call this method to retrieve the error message that resulted.
|
|
Methods
| Method |
Description |
| MD5 |
Calculate an MD5 checksum on a file located on the local filesystem.
The one parameter to this method is the complete filename for the file
you want to compute the checksum for.
Response.Write oMD5.MD5("C:\test.doc")
|
| MD5String |
Calculate an MD5 checksum on a block of text instead of a file. The one
parameter for this method is the text string you want to compute the
checksum for.
sSum = oMD5.MD5String("Any text here")
|
|
Download
You may download this fully featured component free of charge by using
the link supplied below. Please understand that this component comes
with no warranty whatsoever and you should use it at your own risk. If
you have any questions, comments or suggestions, please mail them to us
here at support@aspnut.com.
Download Now!
|