Hash Generator
Generate hash values (MD5, SHA-1, SHA-256, SHA-512) using Web Crypto API
Input
FAQ
What is a hash function?
A hash function converts input data into a fixed-length string. It is one-way and deterministic — the same input always produces the same output.
What is the difference between MD5, SHA-1, and SHA-256?
MD5 (128-bit) and SHA-1 (160-bit) are considered cryptographically broken for security purposes. SHA-256 (256-bit) and SHA-512 (512-bit) are currently secure.
Why should I use SHA-256 instead of MD5?
SHA-256 is more secure with 256-bit output vs MD5's 128-bit. MD5 collisions can be created intentionally, while SHA-256 remains collision-resistant.