FlowGuard API - v1.2.0-rc.2
    Preparing search index...

    Function computeChainHash

    • Compute the chain hash for an event. Hash = SHA-256(prevHash + canonical JSON of event without chainHash).

      Canonical JSON: keys sorted alphabetically, no whitespace. This ensures deterministic hashing regardless of object key insertion order.

      Parameters

      Returns string