Some things shouldn't sit in plain text in an email, a chat or a shared document: a Wi-Fi password for a guest, a door code, account details for a family member, a private note you want to keep in cloud storage. This tool turns a message into scrambled text that only someone with the password can read. It's for anyone who needs to send or store a short piece of text and can't rely on the app in between to keep it private. We make Noxium, an encrypted photo vault, and built this tool to run entirely in your browser with the encryption your browser already has.
How do you encrypt a message with a password?
Type the message, choose a password, and copy the result. It takes under a minute.
- Leave the tool on Encrypt. Type or paste your message into the first box. Any language and any emoji work.
- Choose a password and type it twice. Tick Show password if you'd rather see it once than type it twice.
- Tap Encrypt. The tool takes a moment to turn your password into a key, then shows a block of text that starts with
NOX1. - Copy the encrypted text and paste it wherever it needs to go: an email, a chat, a note or a file.
- Give the password to the other person by a different route. If the text goes by email, say the password on a call or in person.
Each time you encrypt, the result is different, even for the same message and password. That's on purpose: a fresh random salt and nonce go into every message, so nobody can tell that two messages say the same thing.
How does the other person read it?
They open this page, choose Decrypt, paste the whole text and type the password. The original message appears below. If the password is wrong, or a character went missing when the text was copied, the tool says it couldn't decrypt and shows nothing. It never shows a half-right message. Line breaks that an email app adds don't matter; the tool ignores spaces and new lines inside the encrypted text.
How does the encryption work?
It uses two standard building blocks from your browser's Web Crypto API: PBKDF2 to turn the password into a key, and AES-256-GCM to encrypt the message with that key.
| Part | Size | What it is |
|---|---|---|
| Prefix | 5 characters | NOX1. in plain text, so you can tell what it is. Everything after it is standard base64. |
| Version | 1 byte | Always 1 for this format. |
| Rounds | 4 bytes | The PBKDF2 iteration count, big-endian. This page writes 600,000. |
| Salt | 16 bytes | Random. Mixed into the password so the same password gives a different key every time. |
| Nonce (IV) | 12 bytes | Random. AES-GCM needs a value that's never reused with the same key. |
| Ciphertext | Message length + 16 bytes | The message as UTF-8, encrypted with AES-256-GCM. The last 16 bytes are the authentication tag. |
The key. The password goes through PBKDF2 with HMAC-SHA-256 and 600,000 rounds, which is the figure the OWASP Password Storage Cheat Sheet recommends for that hash. The rounds make every guess slow on purpose. Someone who has your encrypted text and tries passwords has to pay that cost for each one.
The cipher. AES-256-GCM encrypts the message and adds a 16-byte tag that works like a seal. If a single bit of the text, the salt or the nonce changes, the seal breaks and decryption fails. That's how the tool knows a password is wrong instead of printing nonsense.
No lock-in. The format is plain enough to open without this page. This Python script, using the widely used cryptography package, decrypts a message saved in a file called message.txt:
import base64, getpass
from cryptography.hazmat.primitives import hashes
from cryptography.hazmat.primitives.kdf.pbkdf2 import PBKDF2HMAC
from cryptography.hazmat.primitives.ciphers.aead import AESGCM
text = "".join(open("message.txt").read().split())
raw = base64.b64decode(text.removeprefix("NOX1."))
rounds = int.from_bytes(raw[1:5], "big")
salt, nonce, data = raw[5:21], raw[21:33], raw[33:]
key = PBKDF2HMAC(hashes.SHA256(), 32, salt, rounds).derive(getpass.getpass().encode())
print(AESGCM(key).decrypt(nonce, data, None).decode())
Why PBKDF2 and not Argon2id, which Noxium itself uses for its keys? Browsers' built-in Web Crypto API offers PBKDF2 for passwords but not Argon2, and this tool sticks to what's built in rather than loading extra code.
How do you choose and share the password?
The password is the only key. Nobody can reset it or recover it: not us, not your browser, not anyone who later gets the text. So it has to be strong enough to resist guessing and safe to hand over.
- Make it long. Four or more random words, or 12 or more random characters. The tool warns you when a password is under 12 characters. A name, a date or a word from the message is easy to guess.
- Use a new one. Don't reuse a password from an account. If that account leaks, your message opens too.
- Send it separately. The text and the password should never travel together. Text by email, password by phone call. Text in a chat, password in person.
- Write it down if it matters. If you're encrypting a note for yourself, keep the password somewhere safe. Without it the note is gone for good, which is the same trade-off as a vault's recovery phrase.
What happens to your text and password?
They stay on your device. The page uses your browser's own Web Crypto functions to derive the key and encrypt or decrypt, all in memory. There's no server that receives the message, the password or the result, and nothing is saved in the browser: closing the tab clears it. The page does load Google Analytics, which counts visits as our privacy policy describes; it never receives your message, your password or the encrypted text. You can turn off your connection after the page loads and the tool still works.
What doesn't encrypting a message protect?
Encryption hides what the message says. It doesn't hide everything around it.
- A weak password. Anyone who has the encrypted text can try passwords on their own computer, as many as they like. Long, random passwords are what make that hopeless.
- The fact that you sent something. The email or chat still shows who sent what, when, and roughly how long it was.
- Your device. If someone can see your screen or has malware on your device, they can read the message before you encrypt it or after you decrypt it.
- The other person. Once they decrypt it, they can copy, screenshot or forward the plain message.
- Copies you left behind. Drafts, notes and clipboard history may still hold the plain version.
For things you keep rather than send, a place that encrypts by itself is easier than encrypting by hand each time. Our guide on how encrypted photo vaults work explains how that's done for photos and notes on an iPhone.
Private notes, without copying and pasting
Noxium hides photos, videos and notes in encrypted vaults on your iPhone. Keys come from your pattern through Argon2id, and files are sealed with AES-256-GCM. No ads, no accounts, no analytics.
Download on the App Store Available on the App Store for iPhone and iPad.Notes in Noxium are encrypted on the device the moment you save them, as the encrypted notes page explains. That's for keeping things private on your phone; this tool is for the moments you need to send a secret somewhere else.
Questions people ask
Can encrypted text be decrypted without the password?
Not in any practical way if the password is strong. There is no known practical attack on AES-256 itself, so the realistic route is guessing the password, and each guess here costs 600,000 rounds of PBKDF2. A short or common password can still be guessed, which is why length matters most.
What if I forget the password?
The message can't be recovered. There's no account, no reset link and no copy of the password anywhere. If you're encrypting something for yourself, store the password somewhere safe, separate from the text.
Is it safe to encrypt text on a website?
It depends on whether the site sends your text anywhere. This page doesn't: the encryption runs in your browser with the Web Crypto API, and it keeps working with your connection switched off after the page loads. Be wary of tools that encrypt on a server, because the server sees the message and the password.
Can I send the encrypted text by email or WhatsApp?
Yes. It's plain letters, digits and a few symbols (+, / and =), so any email or chat app carries it. Copy all of it, from NOX1. to the last character. Line breaks added on the way don't matter.
Why is the encrypted text longer than my message?
It carries 49 extra bytes (version, rounds, salt, nonce and the 16-byte tag), and base64 turns every 3 bytes into 4 characters. A 100-character English message becomes about 205 characters.
Is AES-256 the same encryption apps use?
AES is the standard cipher behind most modern encryption, and GCM is a common way to use it that also detects tampering. Noxium, for example, seals files with AES-256-GCM. What differs between tools is how the key is made and where it's kept.
Something wrong or out of date? Email business@inertiaprojects.info and we'll fix it.