What is MD5?
MD5 (Message Digest 5) produces a 128-bit (32 character hex) hash value. It was once used for password hashing but is now considered cryptographically broken and should not be used for security-critical purposes.
Is MD5 safe for passwords?
No. MD5 is fast to compute, which makes it vulnerable to brute-force and rainbow table attacks. Use bcrypt, Argon2 or PBKDF2 for password hashing in production applications.
What is the difference between MD5 and SHA-256?
SHA-256 produces a 256-bit (64 character) hash and is significantly more secure than MD5. SHA-256 is part of the SHA-2 family and is widely used in TLS, Bitcoin and digital signatures.
Can a hash be reversed?
No — hash functions are one-way. The same input always produces the same hash, but you cannot compute the original input from the hash. However, common inputs can be matched via precomputed rainbow tables.