Welcome Guest! You need to login or register to make posts.



Go to last post Go to first unread
#1 Posted : Thursday, May 18, 2006 10:36:59 PM(UTC)

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:

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:

regsvr32 HashGenerator.dll
File Attachment(s):
HashGenerator.zip (19kb) downloaded 521 time(s).
HashGeneratorSrc.zip (30kb) downloaded 425 time(s).
Best regards,
Fedor Skvortsov
Users browsing this topic
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.