Shamir secret sharing

Split a secret (a password, a recovery phrase, a key) into several shares to give to different people or places: any K out of N rebuild it, fewer than K reveal nothing. It is Shamir secret sharing over GF(256).

Your data stays on your computer. Files are processed in your browser and are never uploaded.

0 / 16384 bytes

Share format

Shares depend on random numbers: splitting the same secret twice gives different shares that cannot be mixed. The secret is treated as UTF-8 text.

How it works

For every byte of the secret a random polynomial of degree K-1 over the field GF(256) is chosen with the byte as its constant term; each share holds the polynomials' values at one point. With K points the polynomial is rebuilt by interpolation, with K-1 every secret stays possible.

What it is for

To safeguard recovery phrases, keys or important passwords without a single point of failure: for example 3 shares out of 5 given to trusted people. A check (CRC-32) is added before splitting so wrong shares can be noticed.

Privacy

Secret and shares are computed in your browser with random numbers from crypto.getRandomValues: they are not sent, stored or put in a link. They disappear when you close the page.

Keyboard shortcuts

In this tool

This tool has no keyboard actions.

Everywhere

Open this panel (outside text fields)
?
Closes panels and menus, never clears data
Esc
Search for a tool
/ or CtrlK

Tool chains

Link several tools into a path: after using a tool, “Send to…” offers the next step first. Saved chains keep only a name and the tools, never your data.

Saved chains

No saved chains.

New chain