first commit
This commit is contained in:
5
backend/app/utils/hash.py
Normal file
5
backend/app/utils/hash.py
Normal file
@@ -0,0 +1,5 @@
|
||||
import hashlib
|
||||
|
||||
|
||||
def sha256_file(data: bytes) -> str:
|
||||
return hashlib.sha256(data).hexdigest()
|
||||
Reference in New Issue
Block a user