D5 · Crypto

What are common hash functions?

FunctionOutputStatus
MD5128-bitBroken (collisions)
SHA-1160-bitDeprecated (collisions)
SHA-256256-bitSecure (current)
SHA-3VariableSecure (newest)
Never use MD5 or SHA-1 for security purposes. SHA-256 is the current standard. SHA-3 uses a completely different construction (Keccak) — provides diversity if SHA-2 is weakened. bcrypt/Argon2 for password hashing (not general-purpose hashes).
← Back to Glossary Practice Questions →