Documentation Index
Fetch the complete documentation index at: https://mintlify.com/CarlosEduJs/SCAL-P/llms.txt
Use this file to discover all available pages before exploring further.
scalp checksum is a standalone hashing utility. It reads each file you pass, computes a SHA-512 hash using the same engine SCAL-P uses for npm packages, and outputs one line per file in <hash> <filename> format. There is no policy enforcement, no audit logging, and no network access — it is a pure hash tool. Its primary use is generating a checksums file for release artifacts so that scalp verify (or any compatible tool) can confirm integrity after download.
Synopsis
Flags
Write the checksums to a file instead of stdout. If omitted, output goes to stdout and can be piped or redirected normally. The file is written with
0644 permissions.Output format
Each line of output contains exactly two fields separated by two spaces:sha512- prefix followed by the base64-encoded SHA-512 digest — the same format used in npm’s integrity field and in SCAL-P’s .scalp/lockfile.json. Only the base filename is used in the output, not the full path.
Example output:
Examples
Full release workflow
The typical pattern is to generate checksums during the release build and upload them alongside the artifacts, so users can verify their downloads withscalp verify:
Exit codes
| Code | Meaning |
|---|---|
0 | All files hashed successfully. |
1 | A file could not be read or hashed, or no file arguments were provided. |
What it does not do
- Does not sign the checksums file. If you need cryptographic attestation, sign the checksums file separately with GPG or cosign.
- Does not access the network.
- Does not write to
.scalp/audit.log. - Does not enforce any policy.
The
--output flag and stdout redirection produce identical content. Use --output when you want SCAL-P to manage the file write; use stdout redirection when you need to pipe the output through other tools first.