#sha-3 #command-line #hash #sum #command #cli

app sha3sum

sha3sum - compute and check SHA3 message digest

7 releases (stable)

1.2.2 Feb 10, 2023
1.2.1 Feb 8, 2023
1.2.0 Jan 2, 2023
1.1.0 Mar 9, 2022
0.1.4 Sep 30, 2019

#233 in Cryptography

Download history 47/week @ 2024-02-26 72/week @ 2024-03-04 58/week @ 2024-03-11 136/week @ 2024-03-18 113/week @ 2024-03-25

381 downloads per month

GPL-3.0-or-later

42KB
814 lines

Licence Version dependency status Download.io pipeline

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.

One of the goals of this project is to provide a cross-platform solution that does not require external dependencies.

Install

  • Using rust toolschain: cargo install sha3sum
  • Otherwise see Wiki

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 a hash for a text file using text mode sha3sum -a 384 -t <path to file>
  • Create for a file a 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>

Tests

All releases are build and tested using following OS:

  • Linux: x86_64
  • Linux aarch64
  • Windows: x86_64
  • AppleDarwin: X86_64

Sources from GitLab git clone https://gitlab.com/kurdy/sha3sum.git

Dependencies

~3MB
~47K SLoC