Hash & Encryption Reference ⚡

⚡ Quick Reference — Common hash algorithms, encryption types, and identification


Hash Identification

ExampleAlgorithmLength
5d41402abc4b2a76b9719d911017c592MD532 hex
aaf4c61ddcc5e8a2dabede0f3b482cd9aea9434dSHA-140 hex
2cf24dba5fb0a30e26e83b2ac5b9e29e...SHA-25664 hex
$1$salt$hashMD5crypt (Linux)Variable
$5$salt$hashSHA-256cryptVariable
$6$salt$hashSHA-512cryptVariable
$2a$10$salt...hashbcrypt60 chars
aad3b435b51404eeaad3b435b51404ee:hashNTLM (Windows)LM:NT format

Hashcat Modes

ModeAlgorithm
0MD5
100SHA-1
1400SHA-256
1000NTLM
1800SHA-512crypt ()
3200bcrypt
500MD5crypt ()

Common Commands

# Generate hashes
echo -n "password" | md5sum
echo -n "password" | sha256sum
 
# Identify hash type
hashid 'hash_value'
hash-identifier
 
# John the Ripper
john --wordlist=rockyou.txt hashes.txt
john --show hashes.txt
 
# Hashcat
hashcat -m 0 hashes.txt rockyou.txt

Encryption Types

TypeKeyExamplesUse
SymmetricSame key encrypt/decryptAES, DES, 3DES, BlowfishData encryption (fast)
AsymmetricPublic/Private key pairRSA, ECC, Diffie-HellmanKey exchange, digital signatures
HashingOne-way (no key)MD5, SHA-256, bcryptIntegrity verification, passwords

Key Sizes

AlgorithmKey SizeStatus
DES56-bit❌ Broken
3DES168-bit⚠️ Deprecated
AES-128128-bit✅ Secure
AES-256256-bit✅ Very secure
RSA-20482048-bit✅ Current standard
RSA-40964096-bit✅ High security