Home

Awesome

Readme Card

hashgen - Cyclone's hash generator

$ ./hashgen_amd64.bin -m 0 -w rockyou.txt -o /dev/null
2023/11/02 19:10:51 Starting...
2023/11/02 19:10:51 Processing file: rockyou.txt
2023/11/02 19:10:51 Hash function: 0
2023/11/02 19:10:51 CPU Threads: 16
2023/11/02 19:10:52 Finished hashing 15053568 lines in 0.500 sec (30.123 M lines/sec)

As of the this writing, hashgen (go) has a 2,519% faster md5 hashrate vs the next fastest publicly available CPU based hash generator (see benchmarks). While this is extremely fast, these hashrates can be beat by improved code optimization and/or coding in faster programming languages (I'm looking at you C, Rust and Zig).

Since version v2023-10-30.1600, hashgen has a top recorded hasharate of 30,228,048 md5/sec on the test rig's Ryzen 7 3700X CPU! Much faster hashrates have been seen on higher end CPU's.

Hashgen is a CLI hash generator written in Go and can be cross compiled for Linux, Raspberry Pi, Windows & Mac, although testing and compiling is mainly done on debian 12 linux.

To use hashgen, type your mode, wordlist input & hash output files with a simple command line.

Features:

Useage ExamplesCommand Line
read wordlist.txt, hash to md5 and write to output.txt./hashgen -m md5 -w wordlist.txt -o output.txt
pipe wordlist into hashgen and write to stdoutcat wordlist.txt | ./hashgen -m md5
dehex hex_wordlist to plaintext wordlist./hashgen -m plaintext -w hex_wordlist.txt -o wordlist.txt

Supported Functions:

Function:Hashcat Mode:
base64encode
base64decode
morsecode(ITU-R M.1677-1)
crc32
1150011500 (hashcat compatible CRC32)
crc64
md4900
md50
ntlm1000
plaintext99999 (can be used to dehex wordlist)
ripemd-1606000
sha1100
sha2-2561400
sha2-5121700
sha3-22417300
sha3-25617400
sha3-38417500
sha3-51217600

Benchmarks:

Compile hashgen from source:

Mentions:

Antivirus False Positives:

Thoughts: