Deterministic content hashing helpers for trace compatibility.
These helpers are intentionally value-oriented. They normalize maps, atoms, lists, tuples, numbers, and binaries before SHA-256 hashing, so callers can produce stable refs without depending on runtime map ordering.
Summary
Functions
Hashes raw binary content as lowercase SHA-256 hex.
Hashes a transcript represented as role/content maps.
Hashes trace metadata maps.
Normalizes a value into the deterministic shape used by term/1.
Hashes any term with deterministic normalization and serialization.
Hashes text or response payloads.
Types
@type hash() :: String.t()
Functions
Hashes raw binary content as lowercase SHA-256 hex.
Hashes a transcript represented as role/content maps.
Hashes trace metadata maps.
Normalizes a value into the deterministic shape used by term/1.
Hashes any term with deterministic normalization and serialization.
Hashes text or response payloads.