' + '

Hash Generator

MD5, SHA-1, SHA-256, SHA-512

What Are Hash Functions?

A cryptographic hash function takes arbitrary input and produces a fixed-size digest. The same input always produces the same output. Any single-bit change in the input produces a completely different output (the avalanche effect). Hash functions are one-way: you cannot reverse a digest back to the original input without brute force.

Which Algorithm to Use

Hashing vs. Encryption vs. HMAC

Hashing has no key — anyone who knows the algorithm can compute the hash. HMAC (Hash-based Message Authentication Code) is a hash computed with a secret key mixed in, proving the data came from someone who knows the key. Use HMAC (e.g., HMAC-SHA256) for API request signing. Use plain hashing for checksums and file integrity. Never hash passwords with SHA-256 directly — use a password-specific function like bcrypt or Argon2 that includes a salt and is intentionally slow.