Reference

syd-sum(1)

Calculate checksum of the given file or standard input

NAME

syd-sum - Calculate checksum of the given file or standard input

SYNOPSIS

syd-sum -a alg [-bhx] <file|->

DESCRIPTION

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 algHash algorithm to use (required).
Use -a list to list available algorithms and their digest sizes.
Examples: sha256, sha512, sha3-512, blake2b-256, md5, crc32c
-bBinary output.
-xHexadecimal output (default).
-hDisplay 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

SEE ALSO

syd(1), syd(2), syd(5), syd-path(1)

syd homepage: https://sydbox.exherbo.org/

AUTHORS

Maintained by Ali Polatel. Up-to-date sources can be found at https://gitlab.exherbo.org/sydbox/sydbox.git and on Radicle at rad:z38HCnbmcDegA2BMxuPaPRPMdp6wF. Bugs/patches can be submitted to https://gitlab.exherbo.org/groups/sydbox/-/issues. Discuss in #sydbox on Libera Chat or in #sydbox:mailstation.de on Matrix.