What Is a Hash?
A hash is a fixed-length value created from data by a hash function. The same input creates the same hash. A tiny change in text can create a very different hash value, helping detect changes.
A hash is a fixed-length value created from data by a hash function. The same input creates the same hash. A tiny change in text can create a very different hash value, helping detect changes.

The same text produces a different hash value when processed with different hashing algorithms. For example, the input "Hello World" generates a unique output for MD5, SHA-1, SHA-256, SHA-384, and SHA-512.
Hash Algorithm | Input | Hash Value |
|---|---|---|
MD5 | Hello World |
|
SHA 1 | Hello World |
|
SHA 256 | Hello World |
|
SHA 384 | Hello World |
|
SHA 512 | Hello World |
|
Note: Hash values depend on the exact input text. Even a small change in capitalization, spacing, punctuation, or line breaks will produce a completely different hash. For example, Hello World and hello world generate different hashes. Always enter the exact text you want to hash.
Hashing and encryption transform data for different purposes. Hashing creates a one-way fingerprint, while encryption protects data that you can recover with a key.
Feature | Hashing | Encryption |
|---|---|---|
Main purpose | Check data integrity | Protect private data |
Process | One-way transformation | Reversible transformation |
Output | Fixed-length hash | Encrypted data |
Recovery | Cannot simply recover the input | Key can recover the original data |
Common uses | Checksums, fingerprints, signatures | Files, messages, stored data |
Examples | MD5, SHA-256, SHA-512 | AES, RSA |
Note: A hash does not replace encryption. Use hashing for checks and data integrity. Use encryption when you need to protect data and recover it later.
Common hashing mistakes
Common hashing mistakes include using MD5 for security. Other mistakes include hashing passwords with plain SHA-256, changing input text, and confusing hashing with encryption. Always check the algorithm, exact input, and security purpose before generating a hash.
Use free security tools to check passwords, hashes, URLs, IPs, and other data for safer and faster online tasks each day.
These FAQs explain hash functions, MD5 security, SHA-256 and SHA-512, password hashing, local processing, and hash reversal.