Hash an artifact (SHA-256)
ledgerproof_hash_artifactCompute SHA-256 hash of a payload locally to preserve privacy; pass the resulting hash to issue a receipt without exposing raw data.
Instructions
Compute the SHA-256 (hex) of a payload using the SDK's hashing. PRIVACY: use this to obtain a precomputed hash so raw payloads never leave the machine — then pass the hash to ledgerproof_issue_receipt as precomputed_sha256. Over Streamable HTTP, issue_receipt REQUIRES precomputed_sha256 and rejects raw payloads, so hash locally first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| payload | Yes | The content to hash (UTF-8 text). Returned only as a hash. |