Automic VaultAutomic Vault

brew

使用 Homebrew, dnf 安装 sha2

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install sha2

local Homebrew formula metadata

概览

软件包摘要

Implementation of SHA-256, SHA-384, and SHA-512 hash algorithms

命令和别名

  • sha2

历史

项目历史与用法

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.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 13 个平台目标。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
sha2cli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本1.0.1
管理器更新时间2026-06-22
本地数据OK
上游not checked
检测到的最新版本未检测到

https://aarongifford.com/computers/sha.html

安装元数据

软件包元数据

软件包键brew:sha2
版本1.0.1
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/sha2
主页https://aarongifford.com/computers/sha.html
上游文档https://aarongifford.com/computers/sha.html
许可证BSD-3-Clause
源码归档https://aarongifford.com/computers/sha2-1.0.1.tgz
最后更新2026-06-22T08:08:16+02:00
Pulseupdated
Bottle可用 (于 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namesha2
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedyes
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

dnf95%

sha2 1.0.1-31.fc44

SHA Implementation Library

http://www.aarongifford.com/computers/sha.html

sudo dnf install sha2
  • License: LicenseRef-Callaway-BSD
  • Category: Unspecified
  • Architecture: i686
  • Source Package: sha2
  • 2 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Sha2
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: sha2 from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

sha2-devel 1.0.1-31.fc44

Development files for sha2

http://www.aarongifford.com/computers/sha.html

sudo dnf install sha2-devel
  • License: LicenseRef-Callaway-BSD
  • Category: Unspecified
  • Architecture: i686
  • Source Package: sha2
  • 2 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Sha2
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: sha2-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

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