WW Tools
All references

Hash Algorithm Comparison

A cryptographic hash maps input of any size to a fixed-length digest. The right choice depends on whether you need a non-security checksum or a collision-resistant digest.

AlgorithmDigest sizeHex lengthCollision resistance
MD5128-bit32 charsBroken — do not use for security
SHA-1160-bit40 charsBroken — do not use for security
SHA-256256-bit64 charsStrong
SHA-384384-bit96 charsStrong
SHA-512512-bit128 charsStrong

Output length is the hex-string length; the digest size in bits is shown in parentheses.

Frequently asked questions

Is MD5 safe to use?

Not for security. MD5 has practical collision attacks, so never use it for signatures, passwords, or integrity against an attacker. It is still fine as a fast checksum against accidental corruption.

Which hash should I use for checksums?

SHA-256 is the common default: widely supported, fast enough, and collision-resistant. Use SHA-512 when you specifically want a longer digest.

Use the tool