BREAK MEDINA

We encrypted a file. We published the algorithm.
We dare you to decrypt it.

Dead simple.

No tricks, no hidden backdoors. Just math.

01

Download the file

A single .bin file encrypted with MEDINA — our anti-quantum encryption algorithm.

02

Read the source code

The full encryption algorithm is public. Every function, every constant, every byte. No secrets except the key.

03

Decrypt the message

Find the master key and the path key. Unwrap the layers. Walk the maze. Reach the destination.

04

Prove it

Post the decrypted message with #MEDINAChallenge. First to post proves it. We verify with a public hash.

# Clone the algorithm
$ git clone medina-encryption
# Download the challenge
$ wget MEDINA_CHALLENGE.bin
# Your move
$ python3 crack_it.py
Wrong path — destination mismatch. Every wrong path looks the same.
$

Two defenses. Zero shortcuts.

Matryoshka Chains

Kills Parallelism

8 nested AES-256-CBC encryption layers. Each layer's key is derived from the previous one. You can't skip ahead. You can't run them in parallel.

8 layers × AES-256 = sequential only

Blind Souk Routing

Kills Search

16 binary decision points. At each node, go left or right. No feedback until the very end. Every wrong path looks identical to the right one.

216 = 65,536 possible paths

Combined

No parallelism advantage. Minimal search advantage. Good luck.

Time since challenge launched
00d 00h 00m 00s
Still unbroken.

Five steps. One name on the board.

1

Download the encrypted file

718 bytes. That's all you need.

2

Study the source code

The full MEDINA implementation is open. matryoshka.py, blind_souk.py, medina.py — read every line.

3

Find the keys

A 256-bit master key and a 16-bit binary path key. The algorithm is public. The keys are not.

4

Decrypt and verify

Run verify.py with your decrypted message. If it says CORRECT, you've done it.

5

Claim it

Post the decrypted message with #MEDINAChallenge on X/Twitter. First verified post gets credited.

◆ MARRAKECH ◆

مراكش

Named for the labyrinth souks of the Red City — where every alley looks the same to outsiders.

Est. 1070 — 956 years and counting

Copied to clipboard