pcuser_tom Posted August 6, 2006 Author Share Posted August 6, 2006 I found a better solution than what I was trying to do HERE. Hopefully it'll help someone else out that's looking for a good MD5 routine in VB6.It uses the builtin function of advapi.dll and is very fast.Thanks for all the help and suggestionsTom Link to comment Share on other sites More sharing options...
TXWizard Posted October 19, 2006 Share Posted October 19, 2006 If you are still interested in pursuing this project, I have a working DLL, with source code, that generates MD5 digests on a file of any size. My DLL is based on the work of Dr. Ronald Rivest, and incorporates code that he published several years ago. Although I've had in mind to publish my DLL, I keep getting distracted by other projects. You can contact me directly through my Web site, at http://www.wizardwrx.com/, using the mail form. Link to comment Share on other sites More sharing options...
pcuser_tom Posted November 16, 2006 Author Share Posted November 16, 2006 Thank you, expect an email from PCUSER. My project is working great but I'd love to see you're implementation even if it's just for knowledge. I have it hashing 100+ mb (around 4,500 files) in about 30 seconds now with no dll's or external depends but I'm curious to see the algorithm used in your dll.Tom Link to comment Share on other sites More sharing options...
LLXX Posted November 16, 2006 Share Posted November 16, 2006 3.33MB/s, that's not very fast... unless your processor is in the MHz range.I have a highly optimised MD5 implementation in Asm, it's a bit long so I won't post the code here but it hashes at approximately 350MB/s on a 4.17GHz P4. Link to comment Share on other sites More sharing options...
pcuser_tom Posted July 10, 2009 Author Share Posted July 10, 2009 LLXX,I know this is an old thread but I was wondering if you'd be willing to share your ASM code and send it to me via email. I'm using ThunderVB to add inline ASM to some of my VB programs and it would be great to be able to use an MD5 function coded in ASM without using an external dll. Link to comment Share on other sites More sharing options...
Mijzelf Posted July 11, 2009 Share Posted July 11, 2009 Unlikely you will ever hear from her. She has been banned a few years ago. Link to comment Share on other sites More sharing options...
kliu0x52 Posted July 17, 2009 Share Posted July 17, 2009 Just use the MD5 functions exported by cryptdll.dll. I assume that your aversion to external DLLs is because you don't want to bother with bundling the DLL, which should not be an issue since cryptdll.dll is a system DLL that comes with Windows. They're optimized and fast. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now