Sample Visual Basic
Code to create an MD5-128 hash of a file:
Where Cryptocx is an instance of a Cryptocx Control.
'' Generate an MD5 Hash of a file
''
Dim Cryptocx As New EasyByte_Software.Cryptocxv7
Cryptocx.LicenseKey = "DEMO"
Cryptocx.SourceFile = "c:\somefile.txt"
txtMD5.Text = Cryptocx.HashFileMD5
'' Free up Memory Resources
''
Set Cryptocx = Nothing
|