Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Using an MD5 function from an external dll in VB6

Featured Replies

  • Author

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 suggestions

Tom

  • 2 months later...

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.

  • 4 weeks later...
  • Author

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

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.

  • 2 years later...
  • Author

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.

Unlikely you will ever hear from her. She has been banned a few years ago.

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.

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.