Secret Language

Lock a message in your browser and share it by link. The passphrase opens it.

The Forge

Write the message. Set the key.

Write a message, lock it to create a link, then share the link and send the passphrase separately. Enter your passphrase in the Key field.

0 / 300

Key strength

Estimate. A longer phrase is stronger than a clever word.

Minimum 6 characters. Send the passphrase by a different route than the link.

Moon Script

Live transliteration

Drawn on this screen as you type. This is a public alphabet, not the lock. Locking replaces it with the ciphertext.

600,000 key-stretching rounds run on this device. Expect a moment.

The Proof

How the lock works

You choose a passphrase. Your browser uses it with a random salt to derive the encryption key. Anyone who has both the link and the passphrase can open the message. Send them separately.

On device

The message is encrypted in this browser. The ciphertext travels in the link’s fragment, the part after #, which browsers never send to a server.

AES-256-GCM

Authenticated encryption. A wrong key or an altered link fails the integrity check and reveals nothing, not even a fragment.

PBKDF2, 600,000 rounds

The key is stretched with SHA-256 and a random 16-byte salt, so every guess costs real computation.

Length padded

The message is padded to 64-byte blocks. The link discloses its length only to the nearest block.

What it does not do: it cannot strengthen a weak key. Anyone with the link can guess keys offline, so the key is the control. It cannot stop the recipient from sharing the message, and it cannot protect a device that is already compromised.

Show the alphabet

The Moon Script alphabet

Each rune is a moon phase on a spine with arms. Walking through the alphabet cycles the phases: new, crescent, half, full. Sixteen runes have no character: they only appear in the sealed script.

Moon Script is a public substitution table. It is a visual, not the lock. The lock is the key.

Cryptographic Architecture

The Secret Language Translator encrypts your text with AES-256-GCM, then displays the result as Moon Script or Star Script glyphs. The cipher does the protecting. The script only changes how the output looks. Both steps run in your browser.

The AES-256-GCM Standard

AES is the symmetric block cipher standardized by NIST. The 256 refers to the key length in bits. GCM is the mode of operation. It provides authenticated encryption, so one pass delivers both confidentiality and tamper detection.

ParameterValue
AlgorithmAES in Galois/Counter Mode
Key length256 bits
Recommended IV length96 bits
Authentication tag128 bits
Keyspace2^256, about 1.16 × 10^77 keys

What the Authentication Tag Does

GCM appends a 128-bit tag to every ciphertext. Decryption recomputes the tag and compares it. Flip a single bit in transit and the check fails, so the tool refuses to output altered text. Guessing a valid tag succeeds with probability 2^-128.

From Plaintext to Glyphs

Your message becomes bytes. AES-GCM turns those bytes into ciphertext plus a 16-byte authentication tag. The visual script then assigns each ciphertext symbol a glyph from a fixed alphabet. Moon Script and Star Script are two glyph sets over the same ciphertext.

A glyph alphabet of N symbols carries log2(N) bits per glyph. The mapping is reversible, so the glyphs preserve every bit of the ciphertext.

Output length follows from the parameters. A 100-byte message produces 100 bytes of ciphertext plus a 16-byte tag. A 12-byte IV travels with it. That totals 128 bytes before glyph encoding.

Why Native Cryptography Matters

The Web Crypto API exposes the browser's own audited implementation through crypto.subtle. Developers who write cipher code in JavaScript risk subtle errors. Calling the native interface avoids that. It also runs fast, because browsers can use hardware AES instructions.

Non-Extractable Keys

The Web Crypto API supports keys marked non-extractable. Page scripts can then use such a key but cannot read its raw bytes. That design limits how far a key can travel, even inside the page.

Key and IV Handling

The browser derives the encryption key locally from your passphrase and a random salt drawn from its secure random number generator. GCM demands a unique initialization vector for every encryption under one key. Reusing an IV breaks the security guarantee. Correct use draws a fresh random IV from crypto.getRandomValues.

Offline-First Operation

After the page loads, encryption needs no connection. The key exists in browser memory and goes nowhere. Web Crypto operates only in secure contexts, so the tool runs over HTTPS.

Real-Time Cascading Animation

The split-screen interface re-renders the glyph panel on every input event. Because encryption is local, no round trip delays the update. The cascade comes from staggering each glyph's animation start by a small fixed delay.

The Update Loop

A keystroke fires an input event. The page runs the asynchronous Web Crypto call and receives the result within the same moment. It then writes the glyph row to the right-hand panel. A 60 Hz display gives each frame a budget of about 16.7 milliseconds.

Cascade Timing

Each glyph carries a delay equal to its index multiplied by a constant step. Glyph 0 starts first, glyph 1 follows, and so on. The eye reads this as a wave sweeping across the text. Users who set reduced motion in their system see the result without animation.

Frequently Asked Questions

Is AES-256 encryption secure?

Yes. No practical attack recovers an AES-256 key by brute force. Searching 2^256 keys is physically infeasible. Real-world failures come from key handling and IV reuse, not from the cipher. Using the native API with a fresh IV per message avoids both.

Can Lunemarks read my translated messages?

No. Encryption happens in your browser, and the key stays in your device's memory. Lunemarks receives neither the message nor the key. We have no copy to read, hand over, or leak.

How does the visual script map to the ciphertext?

Each ciphertext symbol corresponds to exactly one glyph in the chosen script. The mapping is a fixed, reversible lookup. It adds no security of its own. All protection comes from the AES-256-GCM layer underneath.

Does the tool work offline?

Yes, once the page has loaded. Encryption, glyph mapping, and animation all run as client-side JavaScript. Nothing in the process contacts a server.

Should I use it for high-stakes secrets?

Treat it as a private, playful utility. It uses a standard cipher through a standard API. It has not undergone an independent security audit. For legal, financial, or safety-critical secrets, use a dedicated audited tool.