brute-force to search fragment hex in hash

Ryan Finnie f6854e6c05 Add random module to README 11 years ago
COPYING 7ed565cefc vanityhash 1.0 12 years ago
ChangeLog 56eaf7257d vanityhash 1.1 12 years ago
Makefile e7cb02cedc Python rewrite 11 years ago
README f6854e6c05 Add random module to README 11 years ago
vanityhash 30a1d5ea12 Add dummy random test hashlib module 11 years ago
vanityhash.pod e7cb02cedc Python rewrite 11 years ago

README

vanityhash, a hex hash fragment creation tool
By Ryan Finnie
http://www.finnie.org/software/vanityhash/

ABOUT

vanityhash is a tool that can discover data to be added to the end of a
file to produce a desired hex hash fragment. It searches a message
space and runs a hashing algorithm against the original data plus the
appended data to determine if the desired hash fragment is present.
vanityhash can run multiple parallel workers to effectively make use of
multiple processors/cores/threads, and supports multiple hash digest
types (MD5, SHA1, SHA256, etc).

INSTALLATION

vanityhash requires Python 2.6 or newer, and has support for Python 3.
All modules used by vanityhash are part of the core Python distribution.

Digest support depends on the OpenSSL features used to compile hashlib.
All OpenSSL implementations should support 'md5', 'sha1', 'sha224',
'sha256', 'sha384' and 'sha512'. Additionally, it may support digests
such as 'md4'. Built-in implementations include 'random', 'crc32' and
'adler32'.

To "build" and install vanityhash:

make
make install
make clean

/usr/local is the default Makefile prefix, use PREFIX to override.

USAGE

Please see the man page for full details.

vanityhash [options] hexfragment < inputfile

vanityhash --append [options] hexfragment < inputfile > outputfile