How to Calculate File Checksum in Python

1 · Hayato Iriumi · Jan. 17, 2022, 6:44 p.m.
Checksum is finger print of a file. If two files have the same checksum, they are identical files. There are several types of checksum and the ones we use the most are MD5 and SHA256 based on my experience. Here is the sample code in Python. As a result, the SHA256 of test.jpg is c91834ce2d9e57edb6ccd118c10e5fb3b0eacfb8a8ecda73ae6680ced50009de … Continue reading "How to Calculate File Checksum in Python"...