mathpulse-api-v3test / utils /hash_utils.py
github-actions[bot]
🚀 Auto-deploy backend from GitHub (9923591)
c1d887c
raw
history blame contribute delete
161 Bytes
import hashlib
def calculate_file_hash(content: bytes) -> str:
"""Calculate SHA-256 hash of file content."""
return hashlib.sha256(content).hexdigest()