Example Password Hashes
Cryptographic Hashes
A cryptographic hash is a one way function that maps a set of data to a fixed length value (known as a hash or message digest). Ideally it should be impossible to reverse the calculation from the hash. The only way to find the data or string that produced a hash is to brute-force possible inputs and see if the result is a match to the hash.
A hash function must always generate the same hash from the same message (data).
Common Hash Types
These examples are computed for the plain text string 'password'
Hash Type | Hash | Length |
---|---|---|
md5 | 5f4dcc3b5aa765d61d8327deb882cf99 | 32 |
sha1 | 5baa61e4c9b93f3f0682250b6cf8331b7ee68fd8 | 40 |
sha256 | 5e884898da28047151d0e56f8dc6292773603d0d6aabbdd62a11ef721d1542d8 | 64 |
sha512 | b109f3bbbc244eb82441917ed06d618b9008dd09b3befd1b5e07394c706a8bb980b1d7785e5976ec049b46df5f1326af5a2ea6d103fd07c95385ffab0cacbc86 | 128 |
Using bash
on any Linux command line you can get the MD5 / SHA1 / SHA256 / SHA512 hash of a string simply by echoing the string to the hash sum
utility.
user@host:~$ echo -n password | md5sum -
5f4dcc3b5aa765d61d8327deb882cf99 -
Content Management System Hashes
Examples of hashes from WordPress, Joomla and Drupal. Note that these types of hashes are salted and may use other function within the generation of the hash to make them harder to break. These hashes are using the string 'hashcat'.
Hash Type | Hash |
---|---|
WordPress / Joomla | $P$984478476IagS59wHZvyQMArzfx58u. |
PrestaShop | 810e3d12f0f10777a679d9ca1ad7a8d9:M2uZ122bSHJ4Mi54tXGY0lqcv1r28mUluSkyw37ou5oia4i239ujqw0l |
Drupal | $S$C33783772bRXEx1aCsvY.dqgaaSu76XmVlKrW9Qu8IQlvxHlmzLf |
Common Network Service Hashes
Examples of hashes from MySQL, MSSQL, Microsoft Systems and other well known network services. These hashes use a variety of formats and are all using the string 'hashcat'.
Hash Type | Hash |
---|---|
MySQL 3 | 7196759210defdc0 |
MySQL 4.1 & 5 | fcf7c1b8749cf99d88e5f34271d636178fb5d130 |
MSSQL 2005 | 0x010018102152f8f28c8499d8ef263c53f8be369d799f931b2fbe |
NTMLv2 | admin::N46iSNekpT:08ca45b7d7ea58ee:88dcbe4446168966a153a0064958dac6:5c7830315c7830310000000000000b45c67103d07d7b95acd12ffa11230e0000000052920b85f78d013c31cdb3b92f5d765c783030 |
Citrix Netscaler SHA1 | 1765058016a22f1b4e076dccd1c3df4e8e5c0839ccded98ea |