|
|||||||||||
|
Re: vbscript
From: Marco Aldegheri <marco2(at)argentea.it>
Date: Wed Jan 08 2003 - 05:18:10 EST I don' know about a vbscript implementation of the MD5 algoritm but, if you are using vbscript server side in ASP based web applications and you need an MD5 function you can easily include a _javascript_ MD5 implementation code (easy to find on the internet) at the top of your asp page and use the MD5 function as it would have been written in vbscript. Example: example.asp file: <%<!-- #INCLUDE FILE="md5.inc" --> .... pippomd5=MD5(pippo) ... %> md5.inc included file: <SCRIPT RUNAT=SERVER Language="JavaScript"> function MD5(anystring) {.... } The 1996 Henri Torgemane MD5 javascript implementation seemed to work well. Another more efficient way is to create a COM component compiling an easily available C source code and call it from the vbscript source. Hope it helps... I would like to take this opportunity to thank everybody in the newsgroup for the interesting postings. ing. Marco Aldegheri, CISSP
Cade Cairns wrote:
This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 14:07:46 EDT |
||||||||||
|
|||||||||||