hashid

python tool that identifies hash types by analyzing their length and character

TLDR

Identify hash type
$ hashid '[hash]'
Identify from file
$ hashid [hashes.txt]
Show extended hash types
$ hashid -e '[hash]'
Show Hashcat mode numbers
$ hashid -m '[hash]'
Show John the Ripper formats
$ hashid -j '[hash]'
Output to file
$ hashid -o [output.txt] '[hash]'

SYNOPSIS

hashid [options] hash|file

DESCRIPTION

hashID is a Python 3 tool that identifies hash types by analyzing their length and character patterns using regular expressions. It supports over 220 unique hash types including MD5, SHA variants, NTLM, bcrypt, and salted hashes. It can analyze a single hash, a file of hashes, or a whole directory. Useful for penetration testing and security analysis to determine which cracking tool and mode to use.

PARAMETERS

-e, --extended

List all possible hash types including salted.
-m, --mode
Show Hashcat mode numbers.
-j, --john
Show John the Ripper formats.
-o, --outfile file
Write output to file.
-h, --help
Display help information.
--version
Show program version.

INSTALL

nix profile install nixpkgs#hashid

CAVEATS

Identification is based on pattern matching (length and character set), so results are probabilistic, not definitive; many hash types share the same format (e.g. MD5 and NTLM are both 32 hex characters).

SEE ALSO

hashcat(1), john(1)

RESOURCES

Source code · Homepage