Validate a Permalink JSON


Hashing Algorithm

To validate manually, this is the Python code:

import json
import hashlib

# Load your JSON
data = {...}

# Extract hashed_content
hashed_content = data["hashed_content"]

# Recompute the hash
json_str = json.dumps(hashed_content, sort_keys=True)
hash_id = hashlib.sha256(json_str.encode("utf-8")).hexdigest()