by Philip Ciebiera (2 Submissions)
Category: Encryption
Difficulty: Advanced
Date Added: Wed 3rd February 2021
Rating: (5 Votes)
This program includes a class module useful for generating SHA1 hash's, I claim it to be the fastest SHA routine written in pure VB on VBC.
There's also a test bed application to demonstrate the usage of the class.
If you find a faster SHA 1 implementation (in pure VB,ie: no external DLL's) I'll remove this statement!
Honestly though, for most applications speed is not really an issue due to the fact that most data that gets hashed is small.
Thanks to Phil Fresle, some of the functions inside here are his.
Enjoy!
-Phil
Inputs
Variable length message.
Code Returns
SHA-1 Message Digest.
API DeclarationsNONE!
Other than GetTickCount for timing tests.
Download SHA 1 / SHA-1 / SHA1 Secure Hash Algorithm Fast (8 KB)