# 使用 Homebrew, Nix 安装 haiti

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

## 安装

```sh
sudo av install brew:haiti
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install haiti
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#haiti
```

  证据: nixpkgs package indexes: pkgs/by-name/ha/haiti/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:haiti
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/haiti>
- **版本:** 4.0.0
- **来源摘要:** Hash type identifier
- **主页:** <https://noraj.github.io/haiti/#/>
- **仓库:** <https://github.com/noraj/haiti>
- **上游文档:** <https://noraj.github.io/haiti/#/>
- **许可证:** MIT
- **源码归档:** <https://github.com/noraj/haiti/archive/refs/tags/v4.0.0.tar.gz>
- **最后更新:** 2026-06-06T23:36:00-04:00
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- haiti (cli)
- haiti (别名)

## 依赖

- ruby

## 构建依赖

- rust

## macOS 提供的库

- llvm

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 4.0.0
- 管理器更新时间: 2026-06-06
- 本地数据: OK
- 上游仓库: https://github.com/noraj/haiti
- 检测到的最新版本: v4.0.0 (当前)
## 项目历史与用法

haiti is a Ruby command-line tool and library for identifying hash types. Its name expands to HAsh IdenTifIer, and its documentation positions it as a maintained alternative to older hash identification tools with better support for modern algorithms and references to Hashcat and John the Ripper formats.

### 项目历史

The project README says haiti was made by Alexandre ZANNI and forked from Orange-Cyberdefense/haiti. The documentation's comparison page explains the motivation: older tools such as hashID, hash-identifier, Dagon, and findmyhash had become unmaintained or incomplete, especially for modern hashes such as Keccak, SHA3, and Blake2.

Release history shows a steady expansion of supported hash types and workflow features. Early 2021 releases established the CLI and library shape, later 1.x releases added many hash samples and John the Ripper or Hashcat references, 2.0 added a `list` command and crossed 600 supported types, 2.1 added fzf-assisted helpers, and 4.0 documented 675 supported hash types plus Ruby 4.0 support.

### 采用历史

haiti's adoption surface is narrower than the larger tools in this batch, but it is packaged through RubyGems and appears in security-oriented package sets such as Homebrew and Nix. The README's packaging-status badge and installation docs emphasize distribution packaging in addition to `gem install haiti-hash`.

The tool appeals to password-auditing and CTF workflows because it maps candidate hashes to likely algorithms and references cracking-tool identifiers. The package is useful when a shell pipeline needs a quick noninteractive hash guesser rather than an interactive legacy script.

### 使用方式

Typical use is passing an unknown hash string to the `haiti` CLI, using the library from Ruby, or asking haiti for Hashcat and John the Ripper references. Later releases added commands and helper binaries for listing supported hash types and selecting cracking modes or formats through fzf.

The project deliberately avoids credentials or persistent local configuration in its documented core workflow. It is a lookup and classification tool rather than a password store or cracking engine.

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

haiti is significant as a small security CLI that keeps a curated knowledge base of hash patterns close to package-manager users. It is the kind of tool that saves an install-from-GitHub step during CTFs, audits, and incident-response note taking.

For package maintainers, its Ruby implementation matters: version support tracks Ruby lifecycle changes, and the published gem, CLI binary, and documentation all need to line up for users who install through system package managers instead of RubyGems.

### 时间线

- 2019: haiti project activity began according to the project's comparison documentation.
- 2021: v1.0.0 release established the CLI and library package.
- 2021: v1.1.0 added 66 hash types and improved compatibility.
- 2022: v1.4.1 documented 500 supported hash types.
- 2023: v2.0.0 documented more than 600 supported hash types and added the `list` command.
- 2023: v2.1.0 added fzf-oriented helper commands for Hashcat and John the Ripper workflows.
- 2025: v3.0.0 documented 641 supported hash types and Ruby 3.4 support.
- 2026: v4.0.0 documented 675 supported hash types and Ruby 4.0 support.

### Related projects

- Hashcat: cracking tool whose mode references are reported by haiti.
- John the Ripper: cracking tool whose format references are reported by haiti.
- hashID and hash-identifier: older hash identification tools discussed in haiti's comparison documentation.
- Name-That-Hash: another hash identification project compared by haiti's documentation.

### 来源

- <https://github.com/noraj/haiti>
- <https://github.com/noraj/haiti/releases>
- <https://noraj.github.io/haiti/>
- <https://raw.githubusercontent.com/noraj/haiti/master/README.md>
- <https://raw.githubusercontent.com/noraj/haiti/master/docs/CHANGELOG.md>
- <https://raw.githubusercontent.com/noraj/haiti/master/docs/why.md>


## 安全说明

narrow executable package without higher-risk signals.

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

## 源数据库详情

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

## 其他软件包管理器记录

- Nix - haiti: normalized package name match | nixpkgs package indexes: pkgs/by-name/ha/haiti/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Security and crypto packages](https://pkg.so/zh-hans/security-crypto-tools/) - Matched security, identity, cryptography, password, signing, or certificate metadata.
- [ruby](https://pkg.so/zh-hans/brew/ruby/) - Runtime dependency declared by Homebrew.
- [rust](https://pkg.so/zh-hans/brew/rust/) - Build dependency declared by Homebrew.
- [gnutls](https://pkg.so/zh-hans/brew/gnutls/) - Shares pkgdb curated category or tags: cli, cryptography, security.
- [nettle](https://pkg.so/zh-hans/brew/nettle/) - Shares pkgdb curated category or tags: cli, cryptography, security.
- [nss](https://pkg.so/zh-hans/brew/nss/) - Shares pkgdb curated category or tags: cli, cryptography, security.
- [sqlcipher](https://pkg.so/zh-hans/brew/sqlcipher/) - Shares pkgdb curated category or tags: cli, cryptography, security.
- [opensc](https://pkg.so/zh-hans/brew/opensc/) - Shares pkgdb curated category or tags: cli, cryptography, security.
- [botan](https://pkg.so/zh-hans/brew/botan/) - Shares pkgdb curated category or tags: cli, cryptography, security.
- [pdfcrack](https://pkg.so/zh-hans/brew/pdfcrack/) - Shares pkgdb curated category or tags: cli, cryptography, security.
- [libotr](https://pkg.so/zh-hans/brew/libotr/) - Shares pkgdb curated category or tags: cli, cryptography, security.
- [sha.js](https://pkg.so/zh-hans/npm/sha-js/) - Security-sensitive metadata or terminology overlaps. Shared terms: cli, cryptography, hashes, security.
- [sifter](https://pkg.so/zh-hans/npm/sifter/) - Security-sensitive metadata or terminology overlaps. Shared terms: cli, cryptography, hashes, security.
- [b3sum](https://pkg.so/zh-hans/brew/b3sum/) - Security-sensitive metadata or terminology overlaps. Shared terms: cli, cryptography, hash, security.

## Combined YAML source

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


## 来源

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