This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import hashlib | |
import csv | |
import os | |
import datetime | |
def calcualte_hash(file_path): | |
hash_md5 = hashlib.md5() | |
hash_SHA256 = hashlib.sha256() | |
try: | |
with open(file_path, "rb") as f: |