How it works
One web page, no install
The whole app is a single web page, it-happened.html, that runs in the browser you already have. It's built from standard web technologies (each is explained in the glossary at the end):
- HTML and CSSThe screens you see.
- JavaScriptThe logic, written in TypeScript and left unminified, so anyone, or any AI, can read it.
- Web CryptoThe browser's built-in secure random generator, and AES-256 encryption for your key file's passphrase.
- noble cryptographySmall, openly published libraries: the seal (a Pedersen commitment on ristretto255), SHA-2 fingerprints, and scrypt for passphrases.
- OpenTimestamps and BitcoinThe date stamp. Only a blinded fingerprint is sent.
- ArweaveStorage of the locked record, uploaded through the Turbo service with a throwaway signing key. For now uploads go to a test network that deletes copies after about 3 days. Long-term storage comes after a legal review.
Everything happens on your computer. The page sees only files you choose, needs no account, and keeps working without this website.
Three pictures of the tool as it stands: how you use it, where each piece of information goes, and what each part can and can't show. Storage is marked "test network": it works, but for now copies go to a test network and are deleted after about 3 days. The tool is a prototype: don't use it for real records yet.
Every step, in detail
A technical breakdown behind these pictures, for readers who want to check the details: each step from writing to opening a key file, with the UI action, what it triggers, the algorithm or format, the technology or browser API, exactly what leaves the device, and where to find it in the code.
Glossary
Short, plain explanations of the technical terms used on this page.
Browser technology
- HTML, CSS and JavaScript
- The three languages every web page is made of. HTML describes the content and its structure (headings, text, buttons), CSS describes how it looks (layout, colours, fonts), and JavaScript is the program that runs while you use the page. Every modern browser runs all three, so a page made only of them works without installing anything. The browser receives the code as text, so anyone can save the page and read what it does.
- TypeScript
- An open-source extension of JavaScript, made by Microsoft, that adds type labels to the code (for example, which values are numbers and which are text), so many mistakes are caught before the program ever runs. Browsers don't run TypeScript directly: it is translated into ordinary JavaScript, and that JavaScript is what the browser receives.
- Web Crypto
- The cryptography built into every modern browser, which web pages can use through a standard interface. It provides a secure random number generator and well-tested standard algorithms, written and maintained by the browser makers rather than by each website.
Cryptography
- SHA-2 and fingerprints
- SHA-2 is a family of standard cryptographic hash functions, SHA-256 being the best known. A hash turns any data, from one word to a whole book, into a short fixed-size value, often called a fingerprint. Changing a single character gives a completely different fingerprint, and the data can't be worked out from the fingerprint.
- Blinded fingerprint
- A fingerprint of a fingerprint combined with fresh random data. Whoever receives it can't link it back to the original, or test whether a guessed text matches; only the person holding the random data can later show the connection.
- One-time pad
- Encryption that combines a message with truly random data of the same length, used once and never again. If the random data comes from a qualified physical source and stays secret, the message can't be read without it, no matter how much computing power someone has. The cost is that the random data must be as long as the message and can never be reused.
- Computer-random mode
- The same way of combining as a one-time pad, but the random data comes from the computer's built-in secure random generator instead of a physical device. This is strong protection, and there is no known practical way to read the result without the key, but because it relies on that generator, it is not considered a one-time pad.
- Commitment
- In cryptography, a value that binds you to a message without revealing it, like a sealed envelope handed over in advance. Later you can open it to show the message, and you can't open it to a different message without breaking the mathematics it rests on.
- Pedersen commitment
- A long-studied kind of commitment built from elliptic-curve mathematics and a random value. On its own it reveals nothing at all about the message. Its binding rests on a problem today's computers can't solve, though a large future quantum computer could weaken it.
- ristretto255
- A standard way (RFC 9496) of using Curve25519, an elliptic curve that also protects many secure messaging apps and HTTPS connections. It removes some of the curve's technical pitfalls, giving a clean mathematical group on which commitments and similar tools can be built safely.
- AES-256 (with GCM)
- AES is the most widely used standard cipher, found in everything from Wi-Fi to banking apps; AES-256 uses a 256-bit key. GCM is a way of using it that also detects tampering: if even one bit of the encrypted data is changed, decryption fails instead of giving wrong output.
- scrypt
- A method for turning a passphrase into an encryption key. It is deliberately slow and needs a lot of memory, so someone trying millions of guessed passphrases has to spend a great deal of computing time. It can't protect a passphrase that is easy to guess.
- noble cryptography
- A set of small, openly published JavaScript libraries for hashes, elliptic curves and passphrase-based keys. They depend on no other code and have been independently audited, which makes them practical to read and review.
Dates and storage
- Bitcoin (as a timestamp anchor)
- Bitcoin keeps a public ledger in blocks, about one every ten minutes, each linked to the block before it. Rewriting an old block would mean redoing an enormous amount of computing work, so data recorded in a block shows that it existed by roughly that block's date.
- OpenTimestamps
- A free, open protocol for showing that data existed by a certain time. Public servers called calendars combine many fingerprints into a single Bitcoin transaction, and each submitter gets a small proof file that anyone can check directly against Bitcoin, without trusting the calendars. The proof is complete a few hours later, once that transaction is in a block.
- Block explorers (blockstream.info, mempool.space)
- Independent public websites that show what is in the Bitcoin ledger: blocks, transactions and their dates. They let you look up block data without running your own copy of Bitcoin. Asking two explorers and requiring them to agree means neither has to be trusted alone.
- Arweave
- A storage network designed to keep data retrievable for a very long time. Each upload is paid for once, up front, and part of the payment goes into an endowment meant to fund many copies for about 200 years; that rests on the assumption that storage keeps getting cheaper (by at least 0.5% a year), an economic assumption, not a guarantee. Its miners earn rewards by proving they can reach randomly chosen old data, so many independent copies are kept and any of them can deliver it, and each copy is checked against its fingerprint, so a changed copy is detected.
- Turbo and gateways
- Turbo is an upload service that bundles many small uploads into Arweave and, under its current policy, stores small files (about 100 KB) for free; the policy can change. Gateways are servers, which anyone can run, that fetch stored data and deliver it. Because data is checked by its fingerprint, it doesn't matter which gateway delivers it.
- Storage ID (finding a stored copy)
- Each file uploaded to a storage network such as Arweave gets a unique ID. An app that keeps the ID can later ask any gateway for that file; one that also keeps the file's fingerprint can check the copy it gets back, so a wrong or changed copy is rejected. The ID exists only after the upload, so anything that should find the copy has to be saved after it.
- Test network
- A practice copy of a service, run so that people can try it without real consequences. Data there is temporary and may be deleted after a few days, so nothing on a test network is long-term.