CodexFlow_TM / proof_engine.py
LordXido's picture
Update proof_engine.py
c5977a4 verified
raw
history blame contribute delete
247 Bytes
import hashlib
import json
def generate_proof(state):
raw = json.dumps(state, sort_keys=True).encode()
return {
"hash": hashlib.sha256(raw).hexdigest(),
"deterministic": True,
"enforcement": "simulation-only"
}