Rank: Advanced Member
Groups: Member, Administration, Moderator Joined: 7/28/2003(UTC) Posts: 1,660
Thanks: 5 times Was thanked: 76 time(s) in 74 post(s)
|
Aurigma HashGenerator is small ActiveX component for SHA1, MD2, and MD5 hash computing. Here is code snippet how to use it: Code:<%
Dim objHashGenerator
Set objHashGenerator = Server.CreateObject("Aurigma.HashGenerator")
Dim strFileName
strFileName = Server.MapPath("IMG_0001.jpg")
Dim strSHA
strSHA = objHashGenerator.GetShaFromFile(strFileName)
Response.Write strSHA
Dim strMD2
strMD2 = objHashGenerator.GetMD2FromFile(strFileName)
Response.Write strMD2
Dim strMD5
strMD5 = objHashGenerator.GetMD5FromFile(strFileName)
Response.Write strMD5
%>
The component is free and is released under BSD license. You can find binaries and source code in attachments. Note, you should register HashGenerator component from command line using regsvr32 utiltiy: Code:regsvr32 HashGenerator.dll
|
Best regards, Fedor Skvortsov
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.