merkle-tree-uses-sha256-for-cross-replica-verification

Status: IN

The Merkle tree uses SHA-256 (`merkle_tree.py:11`) for tamper-evident cross-replica verification via `verify_proof`, while all storage engines use CRC32 — reflecting the split between accidental-corruption detection on trusted local disk and adversarial-integrity across trust boundaries

Source: entries/2026/05/29/topic-crc32-vs-cryptographic-hash.md

Example

import hashlib
def _hash(self, data):
    return hashlib.sha256(data.encode()).hexdigest()

JSON