What is the fastest way to create a checksum for large files in C#
The problem here is that SHA256Managed reads 4096 bytes at a time (inherit from FileStream and override Read(byte[], int, int) to see how much it reads from the filestream), which is too small a buffer for disk IO. To speed things up (2 minutes for hashing 2 Gb file on my machine with SHA256, 1 … Read more