Automic VaultAutomic Vault

brew

Installer hashcash avec Homebrew, apk, apt, Nix

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de hashcash pour les workflows d'agents IA.

installation

Commandes d'installation supplémentaires

macOS

Homebrewvérifié · 100%
brew install hashcash

local Homebrew formula metadata

Linux

Alpine Linux apkvérifié · 92%
sudo apk add hashcash

Alpine Linux edge package indexes · hashcash · Source: dl-cdn.alpinelinux.org

Debian aptvérifié · 92%
sudo apt install hashcash

Debian stable package indexes · hashcash · Source: deb.debian.org

Nixvérifié · 92%
nix profile install nixpkgs#hashcash

nixpkgs package indexes · pkgs/by-name/ha/hashcash/package.nix · Source: api.github.com

aperçu

Résumé du paquet

Proof-of-work algorithm to counter denial-of-service (DoS) attacks

Commandes et alias

  • hashcash
  • sha1

historique

Historique du projet et usages

Hashcash is Adam Back's proof-of-work scheme for making a sender spend CPU time before a receiver accepts a message or request. The Homebrew package installs the command-line tool that mints and verifies Hashcash stamps, but the package is historically important because the algorithm became one of the canonical proof-of-work designs referenced by later anti-abuse and cryptocurrency systems.

Historique du projet

Hashcash was invented by Adam Back in 1997 as a denial-of-service and anti-spam countermeasure. The basic idea was to attach a stamp to a message; the sender expends adjustable computational work to mint the stamp, while the recipient can verify it cheaply. The official site describes both the algorithm and the email tool as `hashcash`, which is why the package combines a security idea with a concrete Unix-style command.

The command-line documentation presents the package as a tool for minting stamps, checking stamps, estimating work, purging spent-stamp databases, counting partial preimage bits, and extracting resource names. The implementation used SHA1 partial preimages for version-1 stamps, with an adjustable bit target and a receiver-side database option for double-spend protection.

Historique d'adoption

Hashcash's first adoption story was email anti-spam: senders could attach X-Hashcash headers and receivers could treat valid stamps as a whitelisting signal. The official docs describe a default email validity window and a database of spent stamps to stop reuse.

The larger adoption story came later through Bitcoin. Hashcash.org explicitly describes Hashcash as the mining function used in Bitcoin, while also explaining the differences: Bitcoin uses SHA-256 rather than SHA1, double hashing, and a more finely adjusted network difficulty. That made Hashcash a bridge between cypherpunk anti-spam tools and package-manager-visible cryptocurrency infrastructure.

Modes d'utilisation

The `hashcash` executable can mint stamps with `-m`, check them with `-c`, estimate work with `-s`, purge spent-stamp databases with `-p`, and count proof bits with `-w`. In email use, the resource is typically a recipient address, and the stamp can be placed in an X-Hashcash header.

The package is also useful as a reference implementation. The official site notes that the algorithm is simple enough to implement from scratch with a hash library and that verification can be understood as counting leading zero bits in a hash output.

Pourquoi les passionnés de paquets s'y intéressent

Hashcash is one of those packages whose code footprint is much smaller than its historical footprint. It is a command-line tool for an old anti-spam mechanism, but it also preserves a concrete implementation of proof-of-work in the Unix package ecosystem.

For package nerds, Hashcash matters because it connects mail-era anti-abuse tooling, command-line cryptographic utilities, source tarballs rather than modern hosted repos, and the intellectual lineage of Bitcoin mining. Its Homebrew formula keeps a small historical security tool installable long after its original email-spam use case stopped being mainstream.

Chronologie

  • 1997: Adam Back invents Hashcash as a proof-of-work anti-spam and denial-of-service countermeasure.
  • 2002: The Hashcash denial-of-service countermeasure paper is published as a technical report.
  • 2004: Hashcash 1.02 code and the version-1 stamp format are described in the official developer notes and man page.
  • 2009: Bitcoin launches using a Hashcash-style proof-of-work mining function with SHA-256 and network difficulty adjustment.
  • 2013: Hashcash.org's Bitcoin notes compare Bitcoin difficulty with Hashcash bit difficulty and explain the conceptual relationship.

Related projects

  • Bitcoin uses a Hashcash-style mining function with SHA-256 and dynamic difficulty.
  • RPOW is discussed by Hashcash.org as an earlier reusable proof-of-work system in the same design family.
  • Email anti-spam systems and X-Hashcash headers are the original deployment target for the command-line tool.

Sources

  • Official Hashcash home page, man page, developer notes, source page, and Bitcoin comparison page.

posture de sécurité

Niveau de risque : vert

narrow executable package without higher-risk signals.

Classificateur de risque

risque vert · confiance faible · appliance

Pourquoi

  • narrow executable package without higher-risk signals

Signaux

  • metadata:no-higher-risk-signals

Comportement d'installation

  • Aucun hook post-install Homebrew n’est enregistré dans les métadonnées de formule.
  • Les métadonnées de bottle Homebrew sont disponibles pour 6 plateformes.
  • S’installe avec 1 dépendances d’exécution.

Revue recommandée

Avant une utilisation sans surveillance par un agent, vérifiez si l'outil lit des identifiants en clair, écrit un état distant, publie des artefacts ou lance des plugins.

exécutables

Exécutables installés

CommandeTypeExpositionNote
hashcashcliexécutable global
sha1cliexécutable global

fraîcheur

Version et fraîcheur

Ces signaux séparent l'âge de génération de la page, l'activité du gestionnaire de paquets et la comparaison avec les versions amont. Un retard de version n'est signalé que lorsqu'une URL de preuve et des versions comparables sont présentes.

page générée2026-07-08
version du gestionnaire1.22
gestionnaire mis à jour2026-06-22
données localesOK
amontnot checked
dernière version détectéenon détecté

http://hashcash.org

  • infoRelease/tag comparison is only available for GitHub repositories.http://hashcash.orgconfiance none

métadonnées d'installation

Métadonnées du paquet

Clé du paquetbrew:hashcash
Version1.22
Gestionnaire de paquetsHomebrew
Page du gestionnaire de paquetshttps://formulae.brew.sh/formula/hashcash
Page d'accueilhttp://hashcash.org
Docs amonthttp://www.hashcash.org/docs/hashcash.html
LicenceLicenseRef-Homebrew-public-domain OR BSD-3-Clause OR LGPL-2.1-only OR GPL-2.0-only
Archive sourcehttps://deb.debian.org/debian/pool/main/h/hashcash/hashcash_1.22.orig.tar.gz
Dernière mise à jour2026-06-22T14:03:42-07:00
Pulseupdated
Dépendancesopenssl@4
Bouteilledisponible (sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
post-install Homebrewnon défini
Serviceaucun déclaré

faits du registre

Détails de la base source

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

correspondances dans les bases sources

Autres enregistrements de gestionnaires de paquets

Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.

Debian apt95%

hashcash 1.22-2

postage payment scheme for email based on hash calculations

http://hashcash.org/

sudo apt install hashcash
  • Section: mail
  • Architecture: amd64
  • 1 Dépendances
  • normalized package name match
  • Correspondance par : Hashcash
Debian stable package indexes · deb.debian.org · Debian stable package indexes: hashcash from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

hashcash

nix profile install nixpkgs#hashcash
  • normalized package name match
  • Correspondance par : Hashcash
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ha/hashcash/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

hashcash 1.22-1

postage payment scheme for email based on hash calculations

http://hashcash.org/

sudo apt install hashcash
  • Section: universe/mail
  • Architecture: amd64
  • 1 Dépendances
  • normalized package name match
  • Correspondance par : Hashcash
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: hashcash from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

hashcash 1.22-r0

Proof-of-work algorithm for denial-of-service counter measures

http://www.hashcash.org/

sudo apk add hashcash
  • License: Public-Domain
  • Architecture: x86_64
  • Source Package: hashcash
  • 1 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : Hashcash
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: hashcash from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

hashcash-doc 1.22-r0

Proof-of-work algorithm for denial-of-service counter measures (documentation)

http://www.hashcash.org/

sudo apk add hashcash-doc
  • License: Public-Domain
  • Architecture: x86_64
  • Source Package: hashcash
  • normalized package name match
  • Correspondance par : Hashcash
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: hashcash-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

piste source

Généré depuis les données du dépôt

Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.

Sources utilisées

  • 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