Skip to main content

It accepts any string of hexadecimal characters and returns a string of words that uniquely maps to that hash.

::
>>> from hashed import dehash, enhash
>>> dehash("21046fd2f17ac0f30c88190393568045256866f2")
'cassareep irascibly upbrought scorched atheized bourtrees oloroso manful chobdar hornbook'
>>> enhash('disbowel obi magnetises famous oblivious divulgence thickened welders foiningly votresses')
'3bc491b57f3a4d1a91da3daae16dfa0052aff75f'

As a note, that module has broader uses, like making more readable representations of IPv6 addresses. It’s currently weak on error handling, and will explode if you throw input at it that doesn’t fit the wordlist.

The Wordlist is a space-padded file, with a word every 15 characters (or every 30 bytes). It was designed this way for fast access. There is also a JSON encoded index to support the reverse lookup.

Metadata

Release files for hashedwords 2.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hashedwords 2.0.0
File Size Uploaded Provenance
hashedwords-2.0.0.tar.gz 870.9 kB Without provenance Details

Release files / hashedwords-2.0.0.tar.gz

Download URL hashedwords-2.0.0.tar.gz
Size 870.9 kB
Tags Source
SHA-256 checksum
How to use checksums
b6f6ef38ff09fd7448d4af3145a8694e0133fa2a9258baeaa19c48e130d984b9
BLAKE2b-256 checksum
How to use checksums
f1521adf6fe7f86b5e447ae0640b120c1ca5d1be02ffd9e58ebdbe0b569c5c34
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for hashedwords 2.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page