Hash, encrypt, or obfuscate: which protects what?
Match three very different operations to their real purpose: integrity checks, confidential recovery, and casual hiding.
Hashing, encryption and obfuscation are often offered side by side, but only one is reversible and only one is meant for secrets. Choosing by habit rather than by threat model either loses data permanently or gives a false sense of protection.
Hash when you need a fingerprint, not the original
A hash is one-way: the generator produces MD5, SHA-1 or SHA-2 digests for comparison and integrity checks. Use it to verify that two files match or to store a non-reversible fingerprint, and never to protect text you will need to read again.
Encrypt when the text must be recovered
Password encryption transforms text so it can be decrypted later with the same password, entirely in the browser. Use it for notes you must reopen, and treat a lost password as permanent loss because there is no recovery path.
Obfuscate only to stop a casual glance
ROT13 and XOR with a repeating key are reversible transformations, not secure encryption. Use them for spoilers, puzzles or light masking, and never for credentials, personal data or anything an attacker would bother to decode.
Tools covered in this guide
- Hash Generator
Compute cryptographic hashes (MD5, SHA-1, SHA-256, SHA-384, SHA-512) in the browser.
- Password Encrypt/Decrypt
Encrypt text with a password in the browser, or decrypt a payload with the same password.
- XOR Text with Key
XOR text bytes with a repeating key and get Base64, or reverse it.
- Obfuscate Text
Apply ROT13 to letters, hiding text from a casual glance but not from anyone determined.
Frequently asked questions about text protection
Can I decrypt a hash?
No. Hashing is designed to be one-way. If you need the original text back, use encryption instead of hashing.
Is XOR with a key secure encryption?
Not for real secrets. It is a reversible transformation with no authentication, so it hides text from a casual reader but not from anyone who inspects it.
Where does encryption happen?
In the browser. The text and password are processed locally and are not uploaded, stored or logged by the tool.
More guides
- Basic meta, Open Graph, or Twitter Card: which tags do you need?
- Bold, italic, cursive, or blackletter: which Unicode style?
- Canonical or hreflang: which duplicate problem are you fixing?
- Check, find, or build a palindrome?
- Clean messy text in the right order: spaces, duplicates, accents
- Compare, replace, or filter text: which fixes the difference?