How your secrets are protected
Encryption
Your browser makes a new random 256-bit key for each secret. From it, HKDF-SHA-256 derives two separate values: an AES-256-GCM encryption key, and an access proof that shows the server you hold the full link. The proof can't be turned back into the key.
The key sits after the # in the link. Browsers don't include that part in requests, so it never reaches us.
Opening once, then deletion
Loading the link doesn't open the secret, so link previews that only fetch the page can't use it up. Pressing Reveal claims the one allowed use. A second attempt at the same moment is refused.
The encrypted text is kept in object storage, apart from our databases, and is deleted after it is opened or expires. Deletion normally follows within seconds, and is retried if it fails. The databases hold only facts such as size and time.
Delivery happens at most once. If the recipient's connection drops at the wrong moment, the secret is gone and must be sent again.
Tampering
| If someone changes | What happens |
|---|---|
| The link's key | The server refuses the request and the secret stays unused. |
| The stored data | A checksum fails and nothing is released. |
| The response, or its expiry and use settings | Decryption fails in the recipient's browser, which shows a warning and no text. |
| Scripts added to the page | The page's security policy runs only scripts whose exact fingerprint it lists. |
The home page and secret pages contain no third-party code.
What we can't protect against
- A compromise of this website. If an attacker controlled our server or hosting account, they could send you altered page code. Each build produces a list of file fingerprints that can be compared with the live site, which makes such a change detectable but doesn't prevent it.
- A replaced link. Encryption proves the text belongs to the link. It doesn't prove who sent the link. If a message could have been changed on the way, confirm it with the sender another way.
- Someone else with the link. Whoever has the whole link first can open it.
- An infected device or a malicious browser extension, which can read what you see.
Report a vulnerability
Write to hello@keabyte.com.