MD5 Message Digest Algorithm for Implementing Digital Signatures 2

Category:
Miscellaneous
Type:
Modules
Difficulty:
Intermediate

Author: Anonymous

Version Compatibility: Visual Basic 6, Visual Basic 5

More information:
This MD5 algorithm takes as input a message of arbitrary length and produces as output a 128-bit "fingerprint" or "message digest" of the input. It is intended for digital signature applications, where a large file must be "compressed" in a secure manner before being encrypted with a private (secret) key under a public-key cryptosystem such as RSA. There is an example msgbox test application included in comments for the MD5File function.

Instructions: Copy the declarations and code below and paste directly into your VB project.

Declarations:

Code: