Fossil

Check-in [b015ad71]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Updates to the "sha3sum" help text.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:b015ad715d8a14d145638d22eda5b169f366bc61
User & Date: drh 2017-02-25 20:14:13
Context
2017-02-25
20:33
Optimizations to the SHA3 algorithm. check-in: 493321d4 user: drh tags: trunk
20:14
Updates to the "sha3sum" help text. check-in: b015ad71 user: drh tags: trunk
20:07
Add a SHA3 hash algorithm. So far the only integration is the "fossil sha3sum" command. check-in: dcb1a827 user: drh tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/sha3.c.

554
555
556
557
558
559
560







561
562
563
564
565
566
567
/*
** COMMAND: sha3sum*
**
** Usage: %fossil sha3sum FILE...
**
** Compute an SHA3 checksum of all files named on the command-line.
** If a file is named "-" then take its content from standard input.







*/
void sha3sum_test(void){
  int i;
  Blob in;
  Blob cksum;
  int iSize = 224;








>
>
>
>
>
>
>







554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
/*
** COMMAND: sha3sum*
**
** Usage: %fossil sha3sum FILE...
**
** Compute an SHA3 checksum of all files named on the command-line.
** If a file is named "-" then take its content from standard input.
**
** Options:
**
**    --228        Compute a SHA3-228 hash (the default)
**    --256        Compute a SHA3-256 hash
**    --384        Compute a SHA3-384 hash
**    --512        Compute a SHA3-512 hash
*/
void sha3sum_test(void){
  int i;
  Blob in;
  Blob cksum;
  int iSize = 224;