pkg.sopackage field notes

brew / 排名 7054

使用 Homebrew 安装 sha2

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install sha2

provider-native install command

概览

软件包摘要

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

安装行为

  • 未记录 Homebrew bottle 元数据。

建议审查

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
sha2可执行文件已索引可执行文件从本地可执行文件索引发现。

新鲜度

版本和新鲜度

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

页面生成时间2026-08-03
管理器版本1.0.1
管理器更新时间2026-06-22
本地数据未知
上游不可用
检测到的最新版本未检测到
  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:sha2
版本1.0.1
软件包管理器Homebrew
主页https://aarongifford.com/computers/sha.html
最后更新2026-06-22T08:08:16+02:00
Pulseupdated
Bottle未记录
服务未声明

来源线索

由仓库数据生成

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

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • curated package history
  • pkgdb category and tag curation