Minimal command-line hashing utility for EriX SHA-2 workflows.
- Rust 100%
| .github | ||
| src | ||
| .editorconfig | ||
| .gitignore | ||
| ARCHITECTURE.md | ||
| Cargo.toml | ||
| CODE_OF_CONDUCT.md | ||
| CONTRIBUTING.md | ||
| LICENSE | ||
| README.md | ||
| ROADMAP.md | ||
| rustfmt.toml | ||
| SECURITY.md | ||
sha2-tool
Minimal command-line hashing utility for EriX SHA-2 workflows.
This tool is intended as a clean-room sha256sum/sha512sum style utility,
built on lib-sha2.
Scope
Implemented commands:
- hash files and stdin with SHA-512
- hash files and stdin with SHA-256
- print deterministic lowercase hex digests
This tool does not provide:
- HMAC/KDF functionality
- signature verification
- recursive directory hashing policy
Why this exists
EriX needs a local, auditable hashing CLI for development pipelines and test fixtures without external dependencies.
Design constraints
- no external Rust crates
- deterministic output formatting
- explicit, non-ambiguous error messages
- suitable for CI and scripting
Planned usage shape
Examples:
sha2-tool sha512 <file>sha2-tool sha256 <file>sha2-tool sha512 -(read stdin)
Dependencies
lib-sha2for hashing implementation
Status
Implemented baseline.
sha256 and sha512 command paths, stdin mode, and sum-style output are implemented. Remaining work focuses on robustness tests and optional compatibility flags.
See ARCHITECTURE.md and ROADMAP.md.