SarmalAn experimental cipher, published to be broken.

Sarmal is Turkish for helix. A message is locked for one person, and the key that opens it is twisted from several strands. Nobody but its authors has attacked it yet. This page is where you start.

Designed by jakalijey

Cut a strand.

The orange and teal strands are X25519, the key agreement most of the internet uses. They fall together: whoever breaks one breaks both. The violet strand is ML-KEM-768, the post-quantum standard of 2024.

Click a strand on the helix to cut it
The envelope holds.
All strands are whole.

A hand strand is a secret two people shared in person, never over a wire. Once woven, cut it too if you think it can be stolen.

Three rooms.

Inside, the message walks through three rooms, each with a different lock: AES-256-GCM, a Feistel network over SHAKE256, and a stream that comes out of the machine itself. The key decides the order.

Click the rings on the helix to break the rooms

Measured on the real code: with the keys of any two rooms stolen, no part of the message could be read (3 of 3).

Every guess costs a machine.

The key never touches a lock. It first builds a RandomX machine, the proof of work that protects Monero, and every lock comes out of it. One guess, one machine: 0.40 seconds and 256 MB on a laptop core. Plain AES takes 0.23 microseconds.

No machines built yet.
on one core, on average
on a million cores

Break it.

We will publish envelopes for you to open. The first ones give away most of the key, so a patient person at home can open them. The last gives away nothing. Each one holds its prize inside: the message is the key of a wallet. Whoever opens it takes the prize. No judge, no form.

The tool to open them comes with the code. If you break Sarmal itself, or any part of it, tell us how and your name goes here.

What we know is open.

Only the authors have attacked it.Passing our own attacks means we found no hole, not that there is none.
If both X25519 and ML-KEM fall,envelopes without a hand strand open. That is why ML-KEM is never used alone here.
Lifetime does not stop a copy.When an epoch ends its keys are deleted, but whoever copied a key before that can still open its envelopes.
The new part is the structure and the cost,not a new hard problem. All locks come from one key: the rooms protect against a broken lock, not a stolen key.