MD5Digest
Class MD5Digest

Method PrototypeDescription
Sub Clear()reset the digest for new data
Sub Constructor()initialize the MD5Digest object
Sub Process(s As String)process the given string
Function Value() As Stringreturn the MD5 hash of the given value


The MD5Digest class performs the same function as the MD5 global function, but it can operate on the data in chunks instead of all at once. This is useful when you want to compute the MD5 hash of a large file or network stream, without holding all data in memory at once. Simply call Process on each chunk of the data until you reach the end, and then get the result from the Value function. To hash another file, you can either call Clear on the MD5Digest object, or simply dispose of it and create a new one.