Entropy · DIY wallet

2.585

Throw the die or flip the coin. The wallet comes from your table.

Most wallets hide the random number behind a button. This page does the opposite: you throw a real die on a real table, record each result by clicking, and the phrase is built from what the die did — not from anything this page invented. Fifty throws for twelve words, one hundred for twenty-four. Coins work too, and they are even simpler.

collector · nothing leaves this tab

0 / 50 0 bits

Click the result of each physical throw — or use the keyboard: 1–6 for the die, H/T for the coin.

Offline edition

Take the whole tool with you — one file, no network

The same collector as a single HTML file: 1.3 MB, self-contained, with a Content-Security-Policy that blocks every outbound request. Disconnect the machine, open the file, throw the die. It also repairs a phrase that lost a word — 2,048 candidates reduced to a handful by the checksum. That is the version to use if the wallet is going to hold anything real.

sha256 a4da54c222b1b89b492ad3bb545a40b1af9c4ecc7d8702cb8c29550f051a9bfb

How the offline version works

Writing the phrase down? There is a printable backup sheet with numbered boxes, and a twenty-item checklist for everything after it.

!
Read this before using it for anything valuable. This is a website, and a website can change between one visit and the next. For real funds, save the page and run it offline, or use a hardware wallet. The phrase is worth exactly as much as the care you take in writing it down.

The arithmetic

Where 2.585 comes from

A fair die has six equally likely outcomes, so each throw resolves log2 6 = 2.58496… bits. Bits are just the logarithm of the number of possibilities; there is nothing to memorise.

SourceBits eachFor 128 bitsFor 256 bits
Coin flip1128256
Six-sided die2.58550100
Ten-sided die3.3223978
Twenty-sided die4.3223060
A word you chose yourself≈ 10–20——

The last row matters and is deliberately vague, because human-chosen words are not random at all: they follow songs, films, names and dictionary frequencies. A phrase you invented has far less entropy than its word count suggests, and no formula on this page applies to it.

What the extra half-bit costs

Coins are exact: 128 flips map one-to-one onto 128 bits, with no waste. Dice are not — fifty throws carry 129.2 bits and the phrase needs 128, so this page forms one large base-6 number and keeps the remainder modulo 2128. That mapping is not perfectly uniform: the smallest outcomes are a fraction more likely than the largest. The loss is a small fraction of a bit, which is why the tool asks for fifty throws rather than forty-nine.

Why anyone would do this by hand

A physical die cannot be read by the software you are trying to distrust, cannot be patched, and has no seed file to leak. That is why the paranoid generate keys by hand. The cost is human, not mathematical: fifty throws recorded without a single mistake, because one wrong digit silently reduces what you have.

The opposite failure is more common and worse. In 2013, Android apps relying on a broken system random number generator produced Bitcoin keys that were guessable, and funds were taken. Those keys were 256 bits long. They were not random. Length and randomness are different things, and only one of them is visible in an interface.

Check whatever address comes out with the decoder; read why the search is hopeless even with perfect randomness on the arithmetic page; see the whole vocabulary at the word list.

Questions

Short answers

How many dice rolls do I need?

Fifty for twelve words, one hundred for twenty-four. A coin needs 128 or 256 flips.

Does this page see my rolls or my words?

No. The throws become bytes in the tab, the phrase is derived locally, and nothing is transmitted. The only requests are for the public word list and the cryptography files, both from this domain.

Is it safe to make a wallet on a website?

For real money, no — not on any website, including this one. Use it to learn what the words are; for savings use a hardware wallet, or run an offline copy you have inspected.

What if I mis-click a throw?

Press Undo. If the wallet is already built, press Reset and throw again — the sequence has to be exactly what happened, in order.