.\" Generated by scdoc 1.11.4 .\" Complete documentation for this program is not available as a GNU info page .ie \n(.g .ds Aq \(aq .el .ds Aq ' .nh .ad l .\" Begin generated content: .TH "SYD-SUM" "1" "2026-03-22" .PP .SH NAME .PP \fBsyd-sum\fR - Calculate checksum of the given file or standard input .PP .SH SYNOPSIS .PP \fBsyd-sum\fR \fI-a alg\fR \fI[-bhx]\fR \fI\fR .PP .SH DESCRIPTION .PP Given a file, calculate the checksum of the file using the Linux Kernel Crypto API (AF_ALG).\& .PP Only regular files and FIFOs (pipes) may be hashed.\& .PP Given no positional arguments or "-" as argument, calculate checksum of standard input.\& .PP .SH OPTIONS .PP .TS l lx l lx l lx l lx l lx l lx l lx. T{ \fB-a\fR \fBalg\fR T} T{ Hash algorithm to use (required).\& T} T{ T} T{ Any algorithm listed in proc_crypto(5) with type \fIahash\fR or \fIshash\fR may be used.\& T} T{ T} T{ Use \fB-a list\fR to list available algorithms.\& T} T{ T} T{ Examples: sha256, sha512, sha3-512, blake2b-256, md5, crc32c T} T{ \fB-b\fR T} T{ Binary output.\& T} T{ \fB-x\fR T} T{ Hexadecimal output (default).\& T} T{ \fB-h\fR T} T{ Display help.\& T} .TE .sp 1 .SH EXAMPLES .PP .nf .RS 4 syd-sum -a sha256 /usr/bin/syd echo hello | syd-sum -a blake2b-512 syd-sum -a crc32c -b /etc/passwd > /tmp/crc\&.bin .fi .RE .PP .SH SEE ALSO .PP \fIsyd\fR(1), \fIsyd\fR(2), \fIsyd\fR(5), \fIsyd-path\fR(1), \fIproc_crypto\fR(5) .PP \fBsyd\fR homepage: https://sydbox.\&exherbo.\&org/ .PP .SH AUTHORS .PP Maintained by Ali Polatel.\& Up-to-date sources can be found at https://gitlab.\&exherbo.\&org/sydbox/sydbox.\&git and 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.\&