+ 1

Checksum of file in python

is there a function for determining the checksum of a file in python?

28th Jan 2024, 2:27 PM
Коко Ша
Коко Ша - avatar
1 Respuesta
+ 2
A checksum is also known as a cryptogtaphic hash or an electronic signature. Python's built-in hashlib library has many tools to handle this. You have to be specific which algorithm was used to generate the checksum, eg. MD5, SHA256... https://docs.python.org/3/library/hashlib.html https://sololearn.com/compiler-playground/cNb6pRkA2Ty2/?ref=app
28th Jan 2024, 3:37 PM
Tibor Santa
Tibor Santa - avatar