SHAKE128SUM(1)

NAME
shake128sum - Compute and check SHAKE128 message digests

SYNOPSIS
shake128sum [-u | -l | -b | -c] [-R rate] [-C capacity] [-N output-size] [-S state-size] [-W word-size] [-Z squeeze-count] [-vxz] [file ...]

DESCRIPTION
Print or check SHAKE128 checksums. If no file or when the file is -, read standard input.

-u  Output checksums in upper-case hexadecimal representation.

-l  Output checksums in lower-case hexadecimal representation. (default)

-b  Output checksums in binary representation. This suppresses the filenames and checksum delimiters. Only the checksums are printed.

-c  Read SHAKE128 sums from the file and check them against the files on your system. The input files should be formatted as the output of this program, or similarly. This is not going to work if any of the filenames in the input file start with a regular space or horizontal tab, or if they contain a line feed, carriage return, or form feed, unless the -z option is also used.

-v  Print the hashing parameters.

-x  Convert input files from hexadecimal form to binary form before calculating the checksums.

-z  Lines end with NUL instead of LF. If used with -c, this applies to read files (not the output), but it will also apply more strict parsing and allow any whitespace in file names.

The following options change the hashing parameters:

-R rate
    Change the rate.

-C capacity
    Change the capacity.

-N, -O output-size
    Change the output size.

-S, -B state-size
    Change the state size.

-W word-size
    Change the word size.

-Z squeeze-count
    Change the number of squeezes that is performed.

EXIT STATUS

0   Successful completion.

1   Checksums did not match or a file did not exist.

2   An error occurred.

AUTHORS
Mattias Andrée <m@maandree.se>

NOTES
All commands in the sha3sum package allow changing the hashing parameters. However it is only intended to be used with keccaksum(1), or if you know what you are doing; apart from -N which is intended to always be used with shake128sum(1), shake256sum(1), shake512sum(1), rawshake128sum(1), rawshake256sum(1), and rawshake512sum(1).