I have three fields: string Title, byte[] Body, and byte[] Data, from which I want to calculate a single hash as a check to be sure th
string Title
byte[] Body
byte[] Data
you can create a Hash over the Hash values.
MD5 md5 = System.Security.Cryptography.MD5.Create(); byte[] totalHash= md5.ComputeHash(md5.ComputeHash(part1).Concat(md5t.computeHash(part2)));
doesnt create a copy of the byte array but hashes a concatenation of the hashes.