# sha2 を Homebrew, dnf でインストール

sha2 のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:sha2
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install sha2
```

  証拠: local Homebrew formula metadata

### Linux

- dnf (92%):

```sh
sudo dnf install sha2
```

  証拠: Fedora Rawhide package metadata: sha2 from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

## パッケージ情報

- **パッケージキー:** brew:sha2
- **パッケージマネージャ:** Homebrew
- **バージョン:** 1.0.1
- **ソース概要:** Implementation of SHA-256, SHA-384, and SHA-512 hash algorithms
- **ホームページ:** <https://aarongifford.com/computers/sha.html>
- **最終更新:** 2026-06-22T08:08:16+02:00
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- sha2 (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 1.0.1
## プロジェクトの歴史と使われ方

SHA-2 is Aaron D. Gifford's BSD-licensed C implementation of the SHA-224, SHA-256, SHA-384, and SHA-512 secure hash algorithms, accompanied by a small `sha2` command-line program.

### プロジェクトの歴史

Gifford dates the original implementation to a weekend in autumn 2000, specifically 14 October, when the SHA-256, SHA-384, and SHA-512 algorithms were newly described. The author distributes the implementation from his own cryptographic-hashing pages as source archives rather than through a public source-control forge.

### 採用の歴史

The supplied package metadata records packages in Homebrew and DNF-based distributions. Its adoption is therefore best understood as a compact reference implementation and hashing utility preserved by package collections rather than a broad end-user application.

### 使われ方

The `sha2` executable computes SHA-2 message digests for files or input, while the C sources can also be embedded by developers who need the covered hash functions. It requires no persistent configuration or credentials.

### パッケージ好きにとっての重要性

The package captures an early open-source implementation of the SHA-2 family close to the algorithms' introduction. It remains interesting as small, auditable C code and as a historical alternative to the hashing commands bundled with larger cryptographic toolkits.

### タイムライン

- 2000: Aaron D. Gifford implemented the newly described SHA-256, SHA-384, and SHA-512 algorithms in C.
- Later: SHA-224 and SHA-1 support appeared on the author's consolidated BSD-licensed implementation page.

### Related projects

- The author's cryptographic code collection also includes SHA-1 and HMAC-SHA1 implementations; modern general-purpose toolkits provide overlapping digest commands and libraries.

### ソース

- <https://aarongifford.com/computers/>
- <https://aarongifford.com/computers/sha.html>
- source_facts.description
- source_facts.executables
- source_facts.package-manager


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals

## 他のパッケージマネージャ記録

- dnf - sha2 - 1.0.1-32.fc45: normalized package name match | Fedora Rawhide package metadata: sha2 from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | SHA Implementation Library | http://www.aarongifford.com/computers/sha.html
- dnf - sha2-devel - 1.0.1-32.fc45: normalized package name match | Fedora Rawhide package metadata: sha2-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Development files for sha2 | http://www.aarongifford.com/computers/sha.html


## Combined YAML source

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


## ソース

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