# 使用 Homebrew 安装 cifer

查看 cifer 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:cifer
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install cifer
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:cifer
- **软件包管理器:** Homebrew
- **版本:** 1.2.0
- **来源摘要:** Work on automating classical cipher cracking in C
- **主页:** <https://code.google.com/p/cifer/>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- cifer (别名)
- cifer-dict (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 1.2.0
## 项目历史与用法

cifer is a small C command-line toolkit for classical cryptanalysis: affine, Vigenere, Bacon, rail-fence, columnar transposition, frequency analysis, buffers, dictionaries, and scripting-oriented shell commands.

### 项目历史

The 1.2.0 source tarball identifies cifer as copyright 2008 by Simrun Basuita and Daniel Richman. Its bundled CHANGES file records an initial 1.0.0 release on 2008-11-29, several maintenance releases in late 2008, and 1.2.0 on 2009-03-10.

The project lived on Google Code and is now represented by the Google Code Archive, which makes it a preserved example of pre-GitHub open-source Unix CLI packaging.

### 采用历史

Homebrew packages cifer 1.2.0 from the Google Code Archive storage tarball and bottles it for macOS and Linux. The Homebrew formula metadata carries a Linux linker-order patch and a readline dependency adjustment, showing the package has been kept buildable despite the upstream project being archival.

Homebrew analytics are very small, with single-digit recent monthly install-on-request counts, so cifer is best understood as a niche historical/security utility rather than a broadly adopted modern security tool.

### 使用方式

The cifer manpage describes an interactive shell with script support. Users load ciphertext into buffers, apply filters, run frequency analysis, brute-force or solve supported classical ciphers, and use cifer-dict to build dictionaries for dictionary-assisted attacks.

### 为什么软件包爱好者会关心

For package maintainers, cifer is interesting because it is an archived Google Code-era C program that Homebrew still builds, bottles, patches on Linux, and tests by invoking the binary. It is the kind of small historical CLI that survives in package managers long after its original hosting platform disappeared.

### 时间线

- 2008: cifer copyright year and authorship recorded in the bundled README.
- 2008-11-29: Initial 1.0.0 release recorded in CHANGES.
- 2008-12-17: 1.1.0 added libreadline support.
- 2009-03-10: 1.2.0 released, later used as the Homebrew stable version.
- 2016: Google Code Archive became the long-term home for Google Code projects after Google Code Project Hosting shutdown.

### Related projects

- cifer-dict is the companion executable shipped with cifer for creating dictionaries used by cifer's dictionary-assisted cracking commands.
- Homebrew's cifer formula is the active packaging surface that keeps the archived source buildable on current macOS and Linux systems.

### 来源

- <https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/cifer/cifer-1.2.0.tar.gz>
- <https://code.google.com/archive/p/cifer>
- <https://formulae.brew.sh/api/formula/cifer.json>
- <https://raw.githubusercontent.com/Homebrew/homebrew-core/master/Formula/c/cifer.rb>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals


## Combined YAML source

View the package source record on GitHub. [combined/cifer.yml](https://github.com/mxcl/pkgdb/blob/main/combined/cifer.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- cross-ecosystem install command graph
