More about encrypted links

Secret links are encrypted in the browser, not on the server. The service can see neither the key phrase nor the address a secret link leads to โ€” even if it wanted to.

What happens when you publish

  1. You enter the link address and the key phrase.
  2. The browser derives two independent values from the phrase: a lookup identifier (an irreversible hash) and an encryption key.
  3. The browser encrypts the address with that key.
  4. Only the identifier, the encrypted address and the data needed for decryption (a random salt and initialization vector) are sent to the server. The phrase itself and the original address are never sent.

What happens when someone retrieves it

  1. The recipient enters the phrase in their browser.
  2. The browser computes the same identifier and asks the server for the encrypted link with that identifier.
  3. The browser receives the encrypted address and decrypts it locally using the phrase.
  4. The phrase is passed to the redirect page in the URL fragment (after #). This part of the URL is never sent to the server and doesn't appear in its logs.

If the phrase is wrong, decryption fails โ€” there is nothing for the service to show.

How to find a secret link

On the home page choose the "Secret" type, or start your input with the secret: prefix, for example secret:red elephant. The prefix is not part of the phrase โ€” it only switches the search to secret mode.

Good to know

Technical details

Back to: About.

tomatu.link

Links live for a few hours ยท The service is free