G
Guest
Hi,
I'm using the following code snippet kindly provided by one of you guys a
couple of days ago.
using ( FileStream fs = System.IO.File.OpenRead(@"C:\x3.zip") )
{
MD5 m5 = MD5.Create();
byte[] hash = m5.ComputeHash(fs);
string base64Hash = Convert.ToBase64String(hash);
Console.WriteLine(base64Hash);
}
No matter the size of the file I'm hashing with MD5, the last to characters
always seems to bee == as in the hash table below. The
hmFlGc4cdHOx2dHDs7QB6Q==
Why's that?
Thanks, Jesper.
I'm using the following code snippet kindly provided by one of you guys a
couple of days ago.
using ( FileStream fs = System.IO.File.OpenRead(@"C:\x3.zip") )
{
MD5 m5 = MD5.Create();
byte[] hash = m5.ComputeHash(fs);
string base64Hash = Convert.ToBase64String(hash);
Console.WriteLine(base64Hash);
}
No matter the size of the file I'm hashing with MD5, the last to characters
always seems to bee == as in the hash table below. The
hmFlGc4cdHOx2dHDs7QB6Q==
Why's that?
Thanks, Jesper.