Tools Links Login

Secure Hash Algorithm SHA-1

The function SecureHash generates a 160-bit (20-hex-digit) message digest for a given message (String) of any length. The digest is unique to the message. It is not possible to recover the message from the digest. The only way to find the source message for a digest is by the brute force hashing of all possible messages and comparison of their digests. For a complete description see FIPS Publication 180-1:
http://www.itl.nist.gov/fipspubs/fip180-1.htm (HTML version)
http://csrc.nist.gov/fips/fip180-1.txt (plain text version)
I wrote this a few months ago, prior to recent PSC submissions describing how to use Internet Explorer's hashing functions (in advapi32.dll). It is present here solely for your edificaton and entertainment.

Original Author: Peter Girard

About this post

Posted: 2002-06-01
By: ArchiveBot
Viewed: 136 times

Categories

Visual Basic 6

Attachments

CODE_UPLOAD1264512132000.zip
Posted: 9/3/2020 3:45:00 PM
Size: 18,862 bytes


Loading Comments ...

Comments

No comments have been added for this post.

You must be logged in to make a comment.