name-that-hash
name-that-hash identifies MD5, SHA256, and over 300 other hash types from provided hash strings or files. It helps users quickly determine the algorithm used for unknown hashes.
Description
name-that-hash is a utility designed to recognize and name various hash types, such as the example MD5 hash 5f4dcc3b5aa765d61d8327deb882cf99. This tool is particularly useful when encountering unknown hashes during security assessments, penetration testing, or forensic analysis, eliminating the need for manual lookup or trial-and-error.
It supports both single hash identification via text input and batch processing from newline-separated files. Users can output results in standard format or JSON for grepping and scripting. Additional features include Base64 decoding for encoded hashes, with fallback to standard identification for mixed content.
Developed by the creator of RustScan and Ciphey, the tool is accessible via the 'name-that-hash' or 'nth' command and integrates well into Linux workflows, especially on Kali Linux.
How It Works
The tool checks input hashes against a database of over 300 known hash algorithms, including MD5 and SHA256. For --base64, it first decodes Base64-encoded input before identification, falling back to direct hash matching if needed. Output can be formatted as JSON (--greppable) for machine-readable parsing.
Installation
sudo apt install name-that-hashFlags
Examples
nth --text '5f4dcc3b5aa765d61d8327deb882cf99'nth --file hashnth --text '5f4dcc3b5aa765d61d8327deb882cf99' --greppablename-that-hash --text '5f4dcc3b5aa765d61d8327deb882cf99'name-that-hash --file hashnth --file hash --base64name-that-hash --text 'examplehash' --greppable