Skip to content

v1.2.0

Latest

Choose a tag to compare

@cyclone-github cyclone-github released this 09 Nov 04:24
· 5 commits to main since this release
a0de703

Readme Card
License

Full Changelog: v1.1.4...v1.2.0

v1.2.0; 2025-11-08

addressed raw base-16 issue https://github.com/cyclone-github/hashgen/issues/8
added feature: "keep-order" from https://github.com/cyclone-github/hashgen/issues/7
added dynamic lines/sec from https://github.com/cyclone-github/hashgen/issues/11
added modes: mysql5 (300), phpass (400), md5crypt (500), sha256crypt (7400), sha512crypt (1800), Wordpress bcrypt-HMAC-SHA384 (wpbcrypt)
added hashcat salted modes: -m 10, 20, 110, 120, 1410, 1420, 1310, 1320, 1710, 1720, 10810, 10820
added hashcat modes: -m 2600, 4500
added encoding modes: base32encode, base32decode
cleaned up hashFunc aliases, algo typo, hex mode, hashBytes case switch, base64 and base58 decoders
fixed ntlm encoding issue
added sanity check to not print blank / invalid hash lines (part of ntlm fix, but applies to all hash modes)
converted checkForHex from string to byte
updated yescrypt parameters to match debian 12 (libxcrypt) defaults

Features:

  • Maintains original input order PR 10
  • Supports 60+ modes/functions (see list below)
  • Encode / decode base64 & base58
  • Hex / dehex wordlists
  • Supports ASCII, UTF-8 and $HEX[] input
  • Supports UTF-8 (default) or $HEX[] output
  • Supports multiple salted modes such as -m 110 / -m 120
Useage Examples Command 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 stdout cat wordlist.txt | ./hashgen -m md5
decode $HEX[] wordlist to plaintext ./hashgen -m plaintext -w hex_wordlist.txt
convert wordlist to $HEX[] ./hashgen -m hex -w wordlist.txt
output hash:plain ./hashgen -m md5 -w wordlist.txt -hashplain
benchmark md5 ./hashgen -m md5 -w wordlist.txt -b

Supported Options:

Flag: Description:
-m {mode}
-w {wordlist input}
-t {cpu threads}
-o {wordlist output}
-b {benchmark mode}
-cost {bcrypt}
-hashplain {generates hash:plain pairs}
-help {help menu}
-version {version info}

Supported Functions:

Function: Hashcat Mode:
Plaintext & Encoding
plaintext / dehex 99999 (decode $HEX[])
hex (encode to $HEX[])
base64encode
base64decode
base58encode
base58decode
base32encode
base32decode
morsecode (ITU-R M.1677-1)
Checksums
crc32
11500 (hashcat compatible CRC32)
crc64
MDx
md4 900
md5 0
md5passsalt 10
md5saltpass 20
md5md5 2600
SHA1
sha1 100
sha1passsalt 110
sha1saltpass 120
sha1sha1 4500
SHA2
sha224 1300
sha224passsalt 1310
sha224saltpass 1320
sha256 1400
sha256passsalt 1410
sha256saltpass 1420
sha384 10800
sha384passsalt 10810
sha384saltpass 10820
sha512 1700
sha512passsalt 1710
sha512saltpass 1720
sha512-224
sha512-256
SHA3
sha3-224 17300
sha3-256 17400
sha3-384 17500
sha3-512 17600
Keccak
keccak-224 17700
keccak-256 17800
keccak-384 17900
keccak-512 18000
BLAKE2
blake2b-256
blake2b-384
blake2b-512
600 (hashcat compatible blake2b-512)
blake2s-256
31000 (hashcat compatible blake2s-256)
Other Hashes
ripemd-160 6000
mysql5 300
ntlm 1000
Crypt / KDF
argon2id 34000
bcrypt 3200
wpbcrypt (WordPress HMAC-SHA384 + bcrypt)
md5crypt 500 (Linux shadow $1$)
sha256crypt 7400 (Linux shadow $5$)
sha512crypt 1800 (Linux shadow $6$)
phpass 400 (PHP/WordPress $P$/phpBB3 $H$)
yescrypt (Linux shadow $y$)
23e2567f06928ffaef8759ff92cfffee2557699c  hashgen_amd64.bin
0457b6d58680810d020e7b8a05d755f133195bfd  hashgen_arm64.bin
0b7012b84b13d23ff5a748aabe92d21f610a0fb0  hashgen_amd64.exe

Jotti Antivirus Scan Results:
https://virusscan.jotti.org/en-US/filescanjob/0ptogpf18y,b7pk4na5e3,38gxkbdxdc