syd-sum1
Calculate checksum of the given file or standard input
Usage
syd-sum {-a
alg
[-bhx]
<file | ->}
Overview
Given a file, calculate the checksum of the file.
Only regular files and FIFOs (pipes) may be hashed.
Given no positional arguments or "-" as argument, calculate checksum of standard input.
Options
| -a alg | Hash algorithm to use (required). |
| Use -a list to list available algorithms and their digest sizes. | |
| Examples: sha256, sha512, sha3-512, blake2b-256, md5, crc32c | |
| -b | Binary output. |
| -x | Hexadecimal output (default). |
| -h | Display help. |
Examples
syd-sum -a sha256 /usr/bin/syd echo hello | syd-sum -a blake2b-512 syd-sum -a crc32c -b /etc/passwd > /tmp/crc.bin