VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Secure Hash Algorithm SHA-1

Peter Girard  (1 Submission)   Miscellaneous   Visual Basic 3.0   Intermediate   Wed 3rd February 2021

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:
https://www.itl.nist.gov/fipspubs/fip180-1.htm (HTML version)
https://csrc.nist.gov/fips/fip180-1.txt (plain text version)
I wrote this a few months ago, prior to recent VBC submissions describing how to use Internet Explorer's hashing functions (in advapi32.dll). It is present here solely for your edificaton and entertainment.

Rate Secure Hash Algorithm SHA-1 (7(7 Vote))

Download Secure Hash Algorithm SHA-1

Secure Hash Algorithm SHA-1 Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters