Sync util big update
This commit is contained in:
1 parent
1e80bae401
commit
40321327d6
30 files changed
+1001
-159
No files matched your search
@@ -0,0 +1,9 @@
|
||||
import hashlib
|
||||
|
||||
|
||||
def file_hash(file):
|
||||
with open(file, 'rb') as f:
|
||||
data = f.read()
|
||||
sha = hashlib.sha256(data)
|
||||
f.close()
|
||||
return sha.hexdigest()
|
||||
Reference in new issue
Block a user