MD5 Hashing

KernelK

Registered User.
Local time
Today, 10:16
Joined
Oct 3, 2006
Messages
173
Hey all, looking for a library to reference that will allow me to create MD5 hashes. I only need to create them, don't need to interpret. I will also need to be able to specify the hash base and key (don't know if there is any other way to create one, but I need this way). I have found that CAPICOM offers the functionality that I need (I believe so anyway), but it is not a native library on any of the computers in my workplace. Getting IT to install anything on the machines is nearly impossible, so I am looking for an alternative library to do my dirty work. What I need is a library that should be native to any XP, or Office 2003 installation to create MD5 hashes, OR if anyone has a module put together to create hashes, I could just embed that with my code, OR if anyone knows where any good information is on the MD5 alogorithim that I might create a module for it myself (this is the least desirable of my options, but would be helpful none the less). Thanks to all in advance!
 
Solution

Found a class module that will create a hash from a string. No dependencies on outside files, just the straight MD5 alogorithm. Thought I would share it for anyone interested. Just change .txt to .cls and you can import it directly.
 

Attachments

KernelK said:
Thought I would share it for anyone interested.

Thanks,

I was looking for something like that.
Works like a charm.

Frank
 
No problem. Got to share the wealth.
 
im interested in being able to convert a word in a string to md5 hash, wouldnt need or want it to reverse it or anything else just create a hash in a sting, how would i implement the class file above, tried searching for how to do this but not getting anywhere, plus its only a minor problem so atm not spending too much time looking into it
 

Users who are viewing this thread

Back
Top Bottom