Possible to calculate MD5 (or other) hash with buffered reads?
You use the TransformBlock and TransformFinalBlock methods to process the data in chunks. // Init MD5 md5 = MD5.Create(); int offset = 0; // For each block: offset += md5.TransformBlock(block, 0, block.Length, block, 0); // For last block: md5.TransformFinalBlock(block, 0, block.Length); // Get the has code byte[] hash = md5.Hash; Note: It works (at least … Read more