---
name: "syd-sum"
section: "1"
platform: "linux"
package: "syd"
version: "3.59.0-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/syd-sum"
---

# 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** **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
```

## SEE ALSO

[*syd*(1)](/syd/1.md), [*syd*(2)](/syd/2.md), [*syd*(5)](/syd/5.md), [*syd-path*(1)](/syd-path/1.md)

**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.
