banr_bklrx.gificon_bw_about.gif (884 bytes)banr_homex_ico.gif (1035 bytes)banr_howbuyx_ico.gif (1114 bytes)banr_descfrx_ico.gif (1119 bytes)banr_hascfrx_ico.gif (1223 bytes)



Example Project: Calculate Hash Values of Form Data 
Using Active Server Pages with Bokler's HASHcipher/DLL

 

Calculate Hash Value with HASHcipher
(NOTE: These values are not saved; we will not email you)

Name:
E-mail:  
Text:
One-way hash values or "message digests" find frequent application in validation and verification functions that add security to web-based transactions.  One-way hashes derive their name and their cryptographic security from the fact that the calculations performed by the algorithm to produce the hash value cannot be "reversed"; i.e given a hash 
value it is not possible to derive the input data that produced it. (For further details see this taxonomy, or check out these books.) 

The two algorithms most frequently used for calculating one-way hashes are the "Secure Hash Algorithm" (SHA), and "Message Digest 5" (MD5).  The SHA is generally recognized as the more secure of the two due to its greater length, and superior design.  However MD5 is still used in a large number of applications, and has no known major security flaws.  The SHA produces 160-bit message digests; MD5's are 128 bits.  Both algorithms are defined by standards, and in the public domain. The SHA is defined by FIPS-PUB 180-1; MD5 by RFC 1321.

The HASHcipher/DLL (ver. 3) provides both the SHA and MD5 algorithms packaged in a Windows Dynamic Link Library (DLL).  HASHcipher/DLL provides an intuitive API easily accessible from virtually any Windows development environment (e.g. VB, C, C++, Delphi, FoxPro, etc.).  HASHcipher is a high-performance library that supports multi-threading, and thus is ideal for high-volume server environments.

This simple example illustrates the ease with which HASHcipher/DLL may be used in a web-based application using Microsoft's Internet Information Server (IIS) and Active Server Pages (ASP).  Source code for the ASP component used in this example was developed in VB6, and is included in the HASHcipher ver. 3 distribution.


Copyright ©, 1995-2001 Bokler Software Corp. All rights reserved. DEScipher, TDEScipher, HASHcipher, CipherLock and ExportAdviser are trademarks of Bokler Software Corp. The "animated_cipher.gif" is copyrighted by Bokler Software Corp. Microsoft, Windows, Visual Basic, Visual C++ and ActiveX are trademarks of Microsoft Corp.