This commit is contained in:
2026-02-01 13:49:23 +01:00
parent b0275928d2
commit 773e67c9b6
2 changed files with 317 additions and 0 deletions

View File

@@ -15,6 +15,10 @@ import platform
import sys
from blake3 import blake3
def get_path_hash(path_str: str) -> bytes:
"""Calculates MD5 hash of the path and returns raw 16 bytes for BINARY(16)."""
return hashlib.md5(path_str.encode('utf-8')).digest()
# ==============================
# ⚙️ USER CONFIGURATION
# ==============================