✎ ShareNotes
2026-11-29 · Engineering · By the ShareNotes team

Key in the link, or key on the side?

Most encrypted paste tools put the key in the link, after the #. When we built encrypted notes, we chose to have you send it separately. Both are honest designs. Here is what each one costs, and when to pick which.

Two ways to hand over a key

An end-to-end encrypted note is locked in your browser and unlocked in your reader's. The server in between only ever holds scrambled text. The reader still needs the key, and there are two ways to get it to them.

  • In the link. Tools such as PrivateBin, NullPaste and Ente Paste put the key in the part of the link after the #. Browsers don't send that part to the server, so the server never sees the key. One link does everything: open it, and the note unlocks. (PrivateBin and Ente Paste describe this on their own sites, as we read them in November 2026; NullPaste's site, as we read it in October 2026.)
  • On the side. ShareNotes keeps the key out of the link. You send the link one way and the key another. The link alone opens nothing, and it stays short: sharenotes.dev/blue-fox-42.

What a key in the link costs

The link becomes the secret. Anyone it reaches can read the note: a forwarded message, a screenshot of the chat, the colleague you copied into the email thread.

Links are kept in a lot of places. The part after the # never reaches the server that hosts the note, but it goes everywhere else the link goes: your browser history and anything that syncs it, the chat app's message history and its backups, email archives, tickets. Link shorteners see it too, which is why PrivateBin's own FAQ advises against shortening its links.

Link previews. Many chat apps open a link to build a preview card before anyone taps it. For a note that deletes itself on first open, that visit can use it up unless the tool recognises it. Ente Paste says it does; so do we.

What you get for it: the simplest experience there is. One link, one tap, and nothing for the reader to type. For many uses that is the right trade.

What a separate key costs

  • Two things to send, and two things your reader needs.
  • A key the reader can lose. We never have it, so nobody can recover it.
  • Typing it is slower than tapping a link. Our generated keys are 20 characters in groups of four, and are accepted in capitals or lower case, with or without the dashes, to make that easier.

A server that can't read the note, but still counts its reads

Keeping the key out of the link gave us something we didn't want to lose: a page can show our server that it has the right key before we send anything. Your browser turns the key into a check, and we keep only a fingerprint of that check. Until a page sends the right one, we send nothing at all, not even the scrambled text. That is what lets the rest of ShareNotes keep working on encrypted notes:

  • Read limits and delete-after-reading. A read is used only when the right key is entered. A preview bot, or someone who got only the forwarded link, can't use one up.
  • Live sync. Two people with the key edit together and see each other's changes; a page without the key is sent nothing.
  • No overwriting. A save is accepted only from a page that proved the key, so a wrong key can never replace the note with gibberish. Wrong keys are limited, like wrong PINs.

With the key in the link, the server hands the scrambled text to whoever loads the link, so it can't tell a reader who has the key from anyone else who loaded the page.

The cost on our side is that check: it is something our server compares. So it is made as slowly as the lock itself, and a stolen copy of our database gives no shortcut to guessing keys. How to send an encrypted note covers how that works, and what we can and can't see.

When to pick which

  • A key in the link is a fine choice when the conversation is private and short-lived, nobody will forward it, and one tap matters most.
  • A key on the side is the better choice when the link may travel (group chats, email threads, tickets), when the note has a read limit, or when you want a forwarded link to be useless by itself.
  • For secrets that must live for months or years, use a password manager, not any paste tool, ours included.

On ShareNotes, ordinary notes are not end-to-end encrypted. Tick Encrypt when you save for the ones that should be.

Sources: PrivateBin FAQ; Ente Paste's help pages at ente.com; nullpaste.org. Read on the dates above; check each tool's own site for how it works today.

Tick Encrypt when you save Write an encrypted note →

Answers, briefly.

The questions this post gets asked most.

Isn't the part after the # private?
It isn't sent to the server that hosts the note, so that server never sees the key. But it is part of the link everywhere else the link goes: browser history and sync, chat history, email threads, link shorteners.
Can I send the key in the same message as the link?
You can, but then a forwarded message carries both, which is what a key in the link does anyway. When you can, send the key another way: a different app, a call, or in person.
Does ShareNotes ever see the key?
No. Your browser turns the key into a check, and we keep only a fingerprint of that check, made as slowly as the lock itself. The key and the text never reach us.
What if the reader loses the key?
Then nobody can open the note, us included. Keep the key somewhere safe, such as a password manager, until it has been read.
Are ordinary ShareNotes notes encrypted this way?
No. Ordinary notes are not end-to-end encrypted. Tick Encrypt when you save for one that is.