MD5 ActiveX/DLL
AzSDK MD5 ActiveX/DLL 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.
AzSDK MD5 AcitveX/DLL is a ActiveX Control for windows developer, Developer can calling from Visual Basic, PHP, ASP, ASP.Net, C#, VB.Net, Delphi, Java etc.
What is MD5 ActiveX/DLL ?
AzSDK MD5 ActiveX/DLL is for ASP, Cold Fusion, VB, VC, .NET, PHP and other languages.
The ActiveX/dll will quickly generate a MD5 string from a text string or file content.
AzSDK MD5 ActiveX/DLL creates an RFC1321 compliant MD5 string from a string of text or file content, The MD5 algorithm takes as input a string of arbitrary length and produces as output a 128-bit "fingerprint" or " message digest" of the input string. It is conjectured that it is computationally infeasible to produce two messages having the same message digest, or to produce any message having a given prespecified target message digest. 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. In essence, MD5 is a way to verify data integrity, and is much more reliable than checksum and many other commonly used methods.
Copyright of the MD5 Message-Digest Algorithm belongs to RSA Data Security, Inc.
Key Features
- Generates a MD5 string from a text string or file content.
- Supports .NET and Win32 application.
- It can be used with many programming languages and popular server side script languages like Visual Basic, PHP, ASP, ASP.NET, C#.NET, VB.NET, Delphi, Java etc.
- Supports Windows 95/98/ME/NT4/ Windows 2000/XP/2003/Vista/Win7 32-bit.
- Full install/uninstall support.
Sample Code
» Visual Basic
Private Function GetMD5FromStringAndFile()
Dim obj As AzMD5Sum.MD5
Set obj = New AzMD5Sum.MD5
obj.SetLicenseKey ("License Code")
Text1.Text = obj.GetMD5String("AzSDK MD5 ActiveX")
Text2.Text = obj.GetMD5File("c:\windows\notepad.exe")
Set obj = Nothing
End Function
» Delphi
procedure GetMD5FromStringAndFile;
var
obj: OleVariant;
begin
obj:= CreateOleObject('AzMD5Sum.MD5');
obj.SetLicenseKey('License Code')
Edit1.Text = obj.GetMD5String('AzSDK MD5 ActiveX')
Edit2.Text = obj.GetMD5File('c:\windows\notepad.exe')
Obj := Unassigned;
end;
» ASP
Set obj = Server.CreateObject("AzMD5Sum.MD5")
obj.SetLicenseKey ("License Code")
dim md5
md5 = obj.GetMD5File("C:\yourfile.dat")
rem OR
md5 = obj.GetMD5String("AzSDK MD5 ActiveX")
» VBScript
<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
<%
Private Function GetMD5String() As String
Dim strRet As String
Dim obj As New AzMD5Sum.MD5
obj.SetLicenseKey("License Code")
strRet = obj.GetMD5String("AzSDK MD5 ActiveX")
MsgBox strRet
End Function
%>
» ASP.NET Using C#
AzMD5Sum.MD5 md5 = new AzMD5Sum.MD5();
string strFile = md5.GetMD5File("C:\yourfile.dat");
string str = md5.GetMD5String("AzSDK MD5 ActiveX");
» ColdFusion
<cfobject action = "Create" type = "COM" class = AzMD5Sum.MD5 name = "Obj">
<cfset filename = "C:\yourfile.dat">
<cfoutput>Filename: #filename# : MD5 : #Obj.GetMD5File( filename )#
MD5 by AzSDK Technology : #Obj.GetMD5String("AzSDK MD5 ActiveX")#
</cfoutput>
» PHP
$Obj = new COM("AzMD5Sum.MD5");
$filename = "C:\\yourfile.dat";
$md5file = $Obj->getMD5File( $filename );
$md5 = $Obj->GetMD5String("AzSDK MD5 ActiveX");










