Cyclone - hashgen

Cyclone

Active member
Trusted
Contributor
Retired Moderator
Feedback: 3 / 0 / 0
Joined
Dec 30, 2019
Messages
3,173
Reaction score
885
Credits
5,880
Hashgen is a simple CLI hash generator that is cross compiled for linux, Windows & Mac.
Set your mode, wordlist & output with a simple command line.
In addition to multiple hashing functions, hashgen can also encode / decode base64.

Note: Hashgen is not nearly as fast at hashing functions as mdxfind,
After further testing and optimizations, hashgen is faster at generating md5 hashes than mdxfind. See github link below for benchmarks.
https://github.com/cyclone-github/hashgen/tree/main/benchmarks

Hashgen's syntax is very simple: hashgen -m mode -w wordlist -o output
In addition to improving hashgen's speed, I plan on adding more functions as time allows.

Example Usage:
Code:
./hashgen -m md5 -w wordlist.txt -o output.txt
or stdout
Code:
./hashgen -m md5 -w wordlist.txt -o stdout
Supported Functions:
Code:
Function:        Hashcat Mode:
argon2id (very slow!)
base64encode
base64decode
bcrypt           3200
blake2s-256
blake2b-256
blake2b-384
blake2b-512      600
crc32            11500
crc64
md4              900
md5              0
ntlm             1000
plaintext        99999
ripemd-160       6000
sha1             100
sha2-224         1300
sha2-384         10800
sha2-256         1400
sha2-512         1700
sha2-512-224
sha2-512-256
sha3-224         17300
sha3-256         17400
sha3-384         17400
sha3-512         17400

Download source code and binaries:
https://github.com/cyclone-github/hashgen
https://github.com/cyclone-github/hashgen/releases/

Written in go 1.20.2 and can be cross compiled for linux, Windows & Mac.
 
Last edited:

blandyuk

Active member
Trusted
Contributor
VIP Member
Feedback: 0 / 0 / 0
Joined
Jul 6, 2011
Messages
18,589
Reaction score
404
Credits
11,245
Nice work :) I use my own code for stuff like this, but great for other users who are not coders. Stdin can be slow as it works in "chunks". I got round this issue when it happened depending on what was being run by creating a "chunk queue" say 3 or 4 ahead, so I could pass a new chunk instantly when hashcat asked for it, then generate another in advance. Saved hashcat waiting for my proggy to gen chunk and passing.
 

Cyclone

Active member
Trusted
Contributor
Retired Moderator
Feedback: 3 / 0 / 0
Joined
Dec 30, 2019
Messages
3,173
Reaction score
885
Credits
5,880

Cyclone

Active member
Trusted
Contributor
Retired Moderator
Feedback: 3 / 0 / 0
Joined
Dec 30, 2019
Messages
3,173
Reaction score
885
Credits
5,880
v2022-12-24.1800-optimize
  • Optimized code which gave a nice performance increase to most functions
    • hashgen is now the fastest CPU based md5 hash generator I've tested
    • (These hashrates can be easily beat by improved code optimization and/or coding in faster programming language such as c/c++/rust, etc.)
  • Tweaked buffer sizes to shave off a few ms
  • hashgen now supports 26 functions
  • hashgen can be used with algo name or hashcat mode flags: ex: "-m sha1" or "-m 100"
https://github.com/cyclone-github/hashgen
 

Cyclone

Active member
Trusted
Contributor
Retired Moderator
Feedback: 3 / 0 / 0
Joined
Dec 30, 2019
Messages
3,173
Reaction score
885
Credits
5,880
Top