Security
Encrypted text sharing, explained honestly
Webifo Share encrypts your document in the browser before upload. Here’s exactly how that works, what it protects against, and what it doesn’t.
The encryption flow
- Your browser generates a random six-character PIN with
crypto.getRandomValues()- or uses the passphrase you choose. - It generates a random 16-byte salt and a 12-byte AES-GCM initialization vector.
- It derives a 256-bit key from the PIN and salt using PBKDF2-SHA256 with 600,000 iterations.
- It encrypts the UTF-8 text with AES-256-GCM, which also authenticates it against tampering.
- It uploads only the ciphertext, salt, IV, and algorithm parameters. The PIN and key are discarded.
When a recipient opens the link, the same steps run in reverse in their browser. There is no server endpoint that checks PINs: a wrong PIN simply fails to decrypt locally.
What we store
| Stored | Never stored |
|---|---|
| Ciphertext | Your original text |
| Salt, IV, and algorithm version | The PIN, a PIN hash, or the derived key |
| Content type, size, created and expiry times, and how many times it was opened | Document titles or any decrypted metadata |
| A hash of the delete token | Your IP address or an account identifier |
How strong is a six-character PIN?
A random PIN drawn from 62 characters has about 35.7 bits of entropy. That is enough to stop casual access, but someone who obtained the ciphertext could try guesses offline. The slow key derivation makes every guess expensive; it doesn't make guessing impossible. For sensitive material, turn on “Use my own PIN or passphrase” and use a long, random passphrase - five or more random words is a good target.
Quick Share vs. Private Share
In Quick Share, the PIN is part of the URL, so anyone holding the link - including anything that logs or previews URLs - can decrypt the document. Private Share keeps the PIN out of the link. Use it whenever the link might be forwarded, logged, or stored in chat history.
You can also put the PIN in the URL fragment instead of the query string - /slug#pin=…. Browsers never send fragments to servers, and Webifo Share accepts both forms.
What client-side encryption can't protect against
- A compromised website. If an attacker could change the JavaScript we serve, they could capture text before it is encrypted. We minimize this risk with a strict Content Security Policy and no third-party scripts.
- A compromised device. Malware or a malicious browser extension on the sender's or recipient's device can read what's on screen.
- The recipient. Anyone who can read the document can copy it.
Other safeguards
- Share pages are served with
noindex,no-store, andReferrer-Policy: no-referrer. - Expired shares are rejected by the API immediately, regardless of database cleanup timing.
- Markdown and HTML are sanitized; scripts never run, and remote images load without a referrer.
More detail is in our privacy policy.
Ready to share something?
Paste your content and get an encrypted link in seconds.