Richie is an Entrepreneur, a Technologist and Cloud Architect. Loves how technologies brings the promise of an easier life, but enjoys the challenge to make it work. Work achievements, play, & fatherhood are the things that drive Richie.
Function GetFileCheckSum( myFile ) ' This function uses X-standards.com's X-MD5 component to calculate ' the MD5 checksum of a file. ' ' Argument: ' myFile [string] the file name whose checksum is to be calculated ' ' Written by Rob van der Woude ' http://www.robvanderwoude.com ' ' The X-MD5 component is available at: ' http://www.xstandard.com/page.asp?p=C8AACBA3-702F-4BF0-894A-B6679AA949E6 ' For more information on available functionality read: ' http://www.xstandard.com/printer-friendly.asp?id=44AFBB03-EDC1-49FE-94CC-333AE728331E Dim objMD5 Set objMD5 = CreateObject( "XStandard.MD5" ) GetFileCheckSum = objMD5.GetCheckSumFromFile( myFile ) Set objMD5 = Nothing EndFunction
Function GetStringCheckSum( myString ) ' This function uses X-standards.com's X-MD5 component to calculate ' the MD5 checksum of a string. ' ' Argument: ' myString [string] the string whose checksum is to be calculated ' ' Written by Rob van der Woude ' http://www.robvanderwoude.com ' ' The X-MD5 component is available at: ' http://www.xstandard.com/page.asp?p=C8AACBA3-702F-4BF0-894A-B6679AA949E6 ' For more information on available functionality read: ' http://www.xstandard.com/printer-friendly.asp?id=44AFBB03-EDC1-49FE-94CC-333AE728331E Dim objMD5 Set objMD5 = CreateObject( "XStandard.MD5" ) GetStringCheckSum = objMD5.GetCheckSumFromString( myString ) Set objMD5 = Nothing EndFunction