seal_content
Seal an upload by fixing its bytes and publishing its SHA256 hash and lengths, making it immutable for use as a body reference. Returns the digest for verification.
Instructions
Seal an upload: fix its bytes and publish the sha256 and both lengths of the DOCUMENT. A sealed upload cannot be appended to — its number is published, so its bytes must stop moving. Only then can it be used as body_ref. Returns the digest to compare against 'shasum -a 256' of your own copy: same rule as everywhere here, sha256 over the raw UTF-8 bytes exactly as stored, no normalisation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| upload_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||