ntb
This commit is contained in:
@@ -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
|
||||
# ==============================
|
||||
|
||||
Reference in New Issue
Block a user