Welcome Guest Advanced Search | Active Topics |

HashGenerator ActiveX Component

Fedor
#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,348

Thanks: 1 times
Was thanked: 0 time(s) in 0 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
File Attachment(s):
HashGenerator.zip (19kb) downloaded 512 time(s).
HashGeneratorSrc.zip (30kb) downloaded 418 time(s).
Best regards,
Fedor Skvortsov

Follow Aurigma on Twitter!
Users browsing this topic
Guest
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.

Clean Slate theme by Jaben Cargman (Tiny Gecko)
Powered by YAF 1.9.4 | YAF © 2003-2010, Yet Another Forum.NET
This page was generated in 0.126 seconds.