macOS
brew install xxhashlocal Homebrew formula metadata
sudo port install xxhashMacPorts ports tree · devel/xxhash/Portfile · 来源: api.github.com
安装
brew install xxhashlocal Homebrew formula metadata
sudo port install xxhashMacPorts ports tree · devel/xxhash/Portfile · 来源: api.github.com
sudo apk add xxhashAlpine Linux edge package indexes · xxhash · 来源: dl-cdn.alpinelinux.org
sudo apt install xxhashDebian stable package indexes · xxhash · 来源: deb.debian.org
sudo dnf install xxhashFedora Rawhide package metadata · xxhash · 来源: dl.fedoraproject.org
nix profile install nixpkgs#xxhashnixpkgs package indexes · pkgs/by-name/xx/xxhash/package.nix · 来源: api.github.com
sudo pacman -S xxhashArch Linux sync databases · xxhash · 来源: geo.mirror.pkgbuild.com
sudo zypper install xxhashopenSUSE Tumbleweed package metadata · xxhash · 来源: download.opensuse.org
scoop install main/xxhashScoop official bucket manifest trees · bucket/xxhash.json · 来源: api.github.com
概览
Extremely fast non-cryptographic hash algorithm
历史
xxHash is Yann Collet's family of extremely fast, non-cryptographic hash algorithms and a reference C implementation with the xxhsum command-line tool. In package-manager terms it is both a developer library and a checksum utility for cases where speed, stable output, and good distribution properties matter more than cryptographic security.
The project was created by Yann Collet, also known for LZ4, around the need for hashes that could keep up with memory bandwidth. Its own documentation describes xxHash as processing at RAM-speed limits, portable across endianness, and producing identical results on all platforms.
The original family centered on XXH32 and XXH64, giving 32-bit and 64-bit outputs using ordinary integer arithmetic. Later releases added XXH3, a vectorized design with 64-bit and 128-bit variants that was introduced experimentally and stabilized in v0.8.0.
The command-line side grew alongside the library. xxhsum provides checksum generation and verification in the style of cksum or sha utilities, while symlinked helper names such as xxh32sum, xxh64sum, xxh3sum, and xxh128sum expose the algorithm choices as separate package binaries.
xxHash spread because it filled a very common systems niche: fast checksums for hash tables, content indexing, compression frames, databases, caches, backup tools, file-transfer workflows, and test suites where cryptographic hashes are unnecessary overhead.
The project's README emphasizes SMHasher and extended collision/speed testing, helping adoption by giving packagers and downstream developers a compact, portable C implementation with visible quality checks. The xxhash.com reference-usage page and language bindings further show adoption across multiple runtimes.
A notable ecosystem link is LZ4: xxHash is used as a checksum in the LZ4 frame format, reinforcing its identity as infrastructure for compression and high-throughput data plumbing.
Developers link libxxhash or include the single-file implementation to compute stable non-cryptographic hashes in performance-sensitive code. Typical use cases include deduplication hints, cache keys, integrity checks inside trusted pipelines, sharding, chunk fingerprints, and quick comparison of large byte streams.
CLI users run xxhsum or one of the algorithm-specific sum commands to generate and check hashes for files. The important operational caveat is that xxHash is not a cryptographic hash and should not be used for password storage, signatures, HMAC-style security decisions, or adversarial tamper resistance.
xxHash is the kind of small C library that quietly becomes plumbing. Package nerds care because it ships a stable ABI-facing library, pkg-config metadata, a family of checksum commands, and many downstream language bindings while still staying close to a reference implementation.
It also illustrates a packaging distinction users often miss: checksum tools are not automatically security tools. Installing xxhash gives a fast file-fingerprinting utility, not a replacement for SHA-256 or BLAKE2 in hostile environments.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
xxh128sum | cli | 全局可执行文件 | |
xxh32sum | cli | 全局可执行文件 | |
xxh3sum | cli | 全局可执行文件 | |
xxh64sum | cli | 全局可执行文件 | |
xxhsum | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/Cyan4973/xxHash
安装元数据
| 软件包键 | brew:xxhash |
|---|---|
| 版本 | 0.8.3 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/xxhash |
| 主页 | https://xxhash.com |
| 仓库 | https://github.com/Cyan4973/xxHash |
| 上游文档 | https://github.com/Cyan4973/xxHash#readme |
| 许可证 | BSD-2-Clause AND GPL-2.0-or-later |
| 源码归档 | https://github.com/Cyan4973/xxHash/archive/refs/tags/v0.8.3.tar.gz |
| 构建依赖 | cmake |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | xxhash |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
libxxhash-dev 0.8.3-2
header files and a static library for libxxhash
https://cyan4973.github.io/xxHash
sudo apt install libxxhash-devlibxxhash0 0.8.3-2
shared library for xxhash
https://cyan4973.github.io/xxHash
sudo apt install libxxhash0xxhash 0.8.3-2
Extremely fast hash algorithm
https://cyan4973.github.io/xxHash
sudo apt install xxhashxxhash
nix profile install nixpkgs#xxhashlibxxhash-dev 0.8.2-2build1
header files and a static library for libxxhash
https://cyan4973.github.io/xxHash
sudo apt install libxxhash-devlibxxhash0 0.8.2-2build1
shared library for xxhash
https://cyan4973.github.io/xxHash
sudo apt install libxxhash0xxhash 0.8.2-2build1
Extremely fast hash algorithm
https://cyan4973.github.io/xxHash
sudo apt install xxhashlibxxhash 0.8.3-r1
Extremely fast non-cryptographic hash algorithm (libraries)
https://cyan4973.github.io/xxHash/
sudo apk add libxxhashxxhash 0.8.3-r1
Extremely fast non-cryptographic hash algorithm
https://cyan4973.github.io/xxHash/
sudo apk add xxhashxxhash-dev 0.8.3-r1
Extremely fast non-cryptographic hash algorithm (development files)
https://cyan4973.github.io/xxHash/
sudo apk add xxhash-devxxhash-doc 0.8.3-r1
Extremely fast non-cryptographic hash algorithm (documentation)
https://cyan4973.github.io/xxHash/
sudo apk add xxhash-docxxhash-static 0.8.3-r1
Extremely fast non-cryptographic hash algorithm (static library)
https://cyan4973.github.io/xxHash/
sudo apk add xxhash-staticxxhash 0.8.3-4.fc44
Extremely fast hash algorithm
sudo dnf install xxhashxxhash-devel 0.8.3-4.fc44
Extremely fast hash algorithm - development files
sudo dnf install xxhash-develxxhash-doc 0.8.3-4.fc44
Extremely fast hash algorithm - documentation files
sudo dnf install xxhash-docxxhash-libs 0.8.3-4.fc44
Extremely fast hash algorithm - library
sudo dnf install xxhash-libs来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.