I am using the following to generate an MD5 hash on a file downloaded from Google drive:
Sub getLocalChecksum(sPath As String, fileNameArg As String) As String
Dim iStream As InputStream = File.OpenInput(sPath, fileNameArg)
Dim buffer(File.Size(sPath,fileNameArg)) As Byte
Dim count...
Hi all,
Why am I getting different MD5 checksums on a local data file vs. the same file uploaded to Google Drive?
Long version:
I'm using the Google Drive API to upload backups of my app's data files. I only want to upload a file if it's actually different from the existing Google version, so...
Ola
Was recently requested to look at this by a friend, for encryption
1. Download this repo here to get the md5 javascript resource
https://github.com/blueimp/JavaScript-MD5
2. In your BANano project, add the javascript file
BANano.Header.AddJavascriptFile("md5.min.js")
3. Add this...
I need to convert an MD5, I use the following code:
Dim md As MessageDigest
Dim ByteCon As ByteConverter
Dim passwordhash() As Byte
passwordhash = md.GetMessageDigest(p.GetBytes("UTF8"),"MD5")
dim md5string as String
md5string = ByteCon.HexFromBytes(passwordhash)
msgbox(md5string,"This is...