
Security News
rv Is a New Rust-Powered Ruby Version Manager Inspired by Python's uv
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
This project provides a command-line tool and a Python library to do this:
Given some arbitrary input data, output a fingerprint of that data in the form of a string of ordinary English words. If the input data changes even slightly, then the output will change completely.
It uses the EFF's large wordlist as a source of words.
pip install wordhash
$ wordhash -h
usage: wordhash [-h] [-w WORDLIST_PATH] [-l LENGTH]
(-f FILE | -s STRING)
options:
-h, --help show this help message and exit
-w WORDLIST_PATH, --wordlist WORDLIST_PATH
Path to a newline-delimted file containing
words to be used in the wordhash (default:
venv/lib64/python3.10/site-
packages/wordhash/data/wordlist.txt)
-l LENGTH, --length LENGTH
Length of hash digest for this program to use
internally. Determines number of words in the
resulting wordhash. (default: 8)
-f FILE, --file FILE Path to file to use as input data (default:
None)
-s STRING, --string STRING
String to use as input data (default: None)
$ wordhash -s 'the quick brown fox jumps over the lazy dog'
BackstabAuthenticDialDivingModifiedAbridge
$ echo -n 'the quick brown fox jumps over the lazy dog' > test.tx
t
$ wordhash -f test.txt
BackstabAuthenticDialDivingModifiedAbridge
>>> import wordhash
>>> mydata = b'the quick brown fox jumps over the lazy dog'
>>> wordhash.wordhash(mydata)
'BackstabAuthenticDialDivingModifiedAbridge'
FAQs
Get a string of English words as a fingerprint of any input data
We found that wordhash demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.
Security News
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.