ASP Hosting Top Header
Easy ASP Hosting Logo ASP.NET Hosting
ASP Hosting Contact Information
Windows Hosting
         Home         Hosting         Domains         Support          Order Windows 2003 Hosting
Helm Hosting
 

MD5DLL manual

Overview
The message digest algorithm was developed by Professor Ronald L. Rivest of MIT. 'The MD5 algorithm is intended for digital signature applications, where a large file must be "compressed" in a secure manner before being encrypted with a private (secret) key under a public-key cryptosystem such as RSA.' MD5 is a hash, i.e it is not reversible without a lot of effort (probably about a year and a half on a 1ghz athlon). All methods except Encrypt and Decrypt are not used. The encrypt and decrypt methods perform exactly the same way. If you wonder why you do not get a nice 32 character hex output it is because the program converts the hex into an ASCII string. The string may be converted back to hex by calculating the hex decimal version of each character in the returned string and appending it to an output.
Methods/Properties
Methods:
MD5.DeCrypt(hashtthis As String)
Identical to encrypt method.
MD5.Encrypt(hashtthis As String)
Encrypts the specified hashthis string.
Properties:
No properties.
Example
Below is a demonstration of using the MD5DLL component.
<%
Dim md5

Set md5 = Server.CreateObject("MD5DLL.Encrypt")
Response.Write "'Hello World' encrypted:<BR>"
Response.Write & md5.Encrypt(Cstr("Hello World"))
%>
 

Home |  Hosting |  Resellers |  About Us |  Testimonials |  Site Map |  Contact Us |  Data Center |  Plesk |  Support |  Announcements |  Order