aboutsummaryrefslogtreecommitdiff
path: root/toys/other
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2021-02-11 03:42:34 -0600
committerRob Landley <rob@landley.net>2021-02-11 03:42:34 -0600
commit7ea411beed603f57ee1fb4bb9dcc10736f1285aa (patch)
treee67f0ea52271647c9458e7f8c67ded7952986305 /toys/other
parent3d5cb06e8b5cfcd4226375ff435b1725399fda13 (diff)
downloadtoybox-7ea411beed603f57ee1fb4bb9dcc10736f1285aa.tar.gz
Switch sha3sum on in defconfig, and document -b (it's same as sha2sum).
Diffstat (limited to 'toys/other')
-rw-r--r--toys/other/sha3sum.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/toys/other/sha3sum.c b/toys/other/sha3sum.c
index 10290081..ee951e03 100644
--- a/toys/other/sha3sum.c
+++ b/toys/other/sha3sum.c
@@ -11,13 +11,14 @@ USE_SHA3SUM(NEWTOY(sha3sum, "bSa#<128>512=224", TOYFLAG_USR|TOYFLAG_BIN))
config SHA3SUM
bool "sha3sum"
- default n
+ default y
help
usage: sha3sum [-S] [-a BITS] [FILE...]
Hash function du jour.
-a Produce a hash BITS long (default 224)
+ -b Brief (hash only, no filename)
-S Use SHAKE termination byte instead of SHA3 (ask FIPS why)
*/