sha3 utilities: Print or check SHA3 digests
Command line that wraps sha3 lib from RustCrypto/hashes.
Commands and options are similar to the GNU Linux command shaXXXsum
Tasks
- [X] Build skeleton based on man page of sha512;
- [X] Create hash from file(s)
- cargo run -- -a 256 ./tests/data/f1.raw
- cargo run -- -a 512 ./tests/data/
- [X] Create hash from pipe command
- [X] Check an hash within a file
- [X] Use multi-threads up to the number of cpu's
- [ ] Tests with various targets
- [X] Development platform x86_64 GNU/Linux
- [X] Tests validity of hashes
- [ ] Create binaries
- [X] Using
cargo install sha3sum
- Internationalisation i18n
Howto
- Get help:
sha3sum --help
- Create for a file an hash Sha3-256
sha3sum -a 256 <path to file>
- Create for all file in repository with Keccak512
sha3sum -a Keccak512 <path>
- Create an hash for a text file using text mode
sha3sum -a 384 -t <path to file>
- Create for a file an hash Sha3-256 with output BSD style
sha3sum -a 256 --tag <path to file>
- Read SHA3 sums from the FILEs and check them
sha3sum -c <path to file>
Releases
- 0.1.1 MVP Tests are working, functionalities are present.
- 0.1.0 Initial publish on crates.io