pub fn json_digest<T: Serialize>(domain: &str, value: &T) -> Result<String>
Compute a deterministic BLAKE3 digest over a domain tag and JSON payload.