# Install ccrypt with Homebrew, apt, MacPorts, Nix

Encrypt and decrypt files and streams. Version 1.11 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:ccrypt
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install ccrypt
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install ccrypt
```

  Evidence: MacPorts ports tree: security/ccrypt/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Debian apt (92%):

```sh
sudo apt install ccrypt
```

  Evidence: Debian stable package indexes: ccrypt from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#ccrypt
```

  Evidence: nixpkgs package indexes: pkgs/by-name/cc/ccrypt/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## Package facts

- **Package key:** brew:ccrypt
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/ccrypt>
- **Version:** 1.11
- **Source summary:** Encrypt and decrypt files and streams
- **Homepage:** <https://ccrypt.sourceforge.net/>
- **Upstream docs:** <https://ccrypt.sourceforge.net/>
- **License:** GPL-2.0-or-later
- **Source archive:** <https://downloads.sourceforge.net/project/ccrypt/1.11/ccrypt-1.11.tar.gz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- ccdecrypt (cli)
- ccencrypt (cli)
- ccguess (cli)
- ccrypt (cli)
- ccdecrypt (alias)
- ccencrypt (alias)
- ccguess (alias)
- ccrypt (alias)

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 1.11
- Local data: ok
- Upstream repository: https://ccrypt.sourceforge.net/
- info: No package-manager update timestamp was available.
- info: Release/tag comparison is only available for GitHub repositories.
## Project history and usage

ccrypt is Peter Selinger's file and stream encryption utility based on the Rijndael block cipher, the cipher family selected for AES. It packages encryption, decryption, key changes, and terminal-friendly helpers into the ccrypt, ccencrypt, ccdecrypt, ccat, and ccguess commands.

### Project history

The official site identifies ccrypt as software by Peter Selinger, with copyright years 2000-2018. Its documentation emphasizes Unix-style operation on files and streams, a gzip-like interface, and aliases for common modes.

The project reached release 1.9 in 2009 with portability fixes for systems including Mac OS X, Ubuntu, FreeBSD, and Solaris 10. Release 1.10 in 2012 added libccrypt.a and ccguess, and release 1.11 in 2018 updated portability, bugs, Emacs 26 compatibility, and translations.

### Adoption history

The official download page lists source distributions, binaries for several operating systems, Debian packages, Redhat RPMs, Solaris packages, and OS/2 packages. The input package facts also show Homebrew, Debian, MacPorts, Nix, and Ubuntu packaging.

### How it is used

ccrypt encrypts and decrypts files in place by default, adding or removing the .cpt suffix. It can also work as a filter, decrypt directly to stdout with ccat, change keys, use key files, recurse over directories, and provide Emacs integration through ps-ccrypt.

### Why package nerds care

ccrypt is historically interesting as a small AES-era replacement for older Unix crypt workflows. Package maintainers care about it because it is portable C software with many CLI entry points, old platform support, and security-sensitive defaults around key prompting and in-place file updates.

### Timeline

- 2000: Copyright period begins for ccrypt.
- 2009: Version 1.9 released with portability fixes for multiple Unix-like systems.
- 2012: Version 1.10 released with libccrypt.a and ccguess.
- 2018: Version 1.11 released with portability fixes and Emacs 26 compatibility.

### Related projects

- ps-ccrypt provides Emacs support for encrypted .cpt files.
- The official site lists GUI and integration tools such as Qccrypt and CCRYPTGUI.

### Sources

- <https://ccrypt.sourceforge.net/>
- <https://formulae.brew.sh/api/formula/ccrypt.json>


## Security Notes

broad file, network, media, or database tool signal.

- **Geiger risk:** blue / medium
- broad file, network, media, or database tool signal

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** ccrypt
- **Version Scheme:** 0
- **Revision:** 0
- **Conflicts With:** ccat
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## Other Package-Manager Records

- Debian apt - ccrypt - 1.11-5: normalized package name match | Debian stable package indexes: ccrypt from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | secure encryption and decryption of files and streams | https://ccrypt.sourceforge.net/
- Debian apt - elpa-ps-ccrypt - 1.11-5: normalized package name match | Debian stable package indexes: elpa-ps-ccrypt from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Emacs addon for working with files encrypted with ccrypt | https://ccrypt.sourceforge.net/
- Nix - ccrypt: normalized package name match | nixpkgs package indexes: pkgs/by-name/cc/ccrypt/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - ccrypt - 1.11-3build1: normalized package name match | Ubuntu 24.04 LTS package indexes: ccrypt from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | secure encryption and decryption of files and streams | https://ccrypt.sourceforge.net/
- Ubuntu apt - elpa-ps-ccrypt - 1.11-3build1: normalized package name match | Ubuntu 24.04 LTS package indexes: elpa-ps-ccrypt from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Emacs addon for working with files encrypted with ccrypt | https://ccrypt.sourceforge.net/
- MacPorts - ccrypt: normalized package name match | MacPorts ports tree: security/ccrypt/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Related links

- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Security and crypto packages](https://www.automicvault.com/pkg/security-crypto-tools/) - Matched security, identity, cryptography, password, signing, or certificate metadata.
- [nettle](https://www.automicvault.com/pkg/brew/nettle/) - Shares av.db curated category or tags: cli, cryptography, encryption, security.
- [sqlcipher](https://www.automicvault.com/pkg/brew/sqlcipher/) - Shares av.db curated category or tags: cli, cryptography, encryption, security.
- [aescrypt](https://www.automicvault.com/pkg/brew/aescrypt/) - Shares av.db curated category or tags: cli, cryptography, encryption, security.
- [aespipe](https://www.automicvault.com/pkg/brew/aespipe/) - Shares av.db curated category or tags: cli, cryptography, encryption, security.
- [age](https://www.automicvault.com/pkg/brew/age/) - Shares av.db curated category or tags: cli, cryptography, encryption, security.
- [age-plugin-se](https://www.automicvault.com/pkg/brew/age-plugin-se/) - Shares av.db curated category or tags: cli, cryptography, encryption, security.
- [age-plugin-yubikey](https://www.automicvault.com/pkg/brew/age-plugin-yubikey/) - Shares av.db curated category or tags: cli, cryptography, encryption, security.
- [botan](https://www.automicvault.com/pkg/brew/botan/) - Shares av.db curated category or tags: cli, cryptography, security.
- [scrypt](https://www.automicvault.com/pkg/brew/scrypt/) - Security-sensitive metadata or terminology overlaps. Shared terms: cli, cryptography, decrypt, encrypt, encryption.

## Combined YAML source

View the package source record on GitHub. [combined/ccrypt.yml](https://github.com/automic-vault/db/blob/main/combined/ccrypt.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
