Ciphers · Keys · Hashes

Cryptography Explorer

Encrypt / Hash Learn Cryptography

Learn Cryptography

Read how it works. Then watch it work on your values.

Each write-up below tells the whole story of an algorithm — the problem it solves, where it came from, how the machinery turns, and where it guards the world today.

And these aren't textbook pages: at the top of each one you enter your own message (and, for RSA, your own primes). Every section then pairs its explanation with a live demo of your values being manipulated at exactly that step — advance each one card by card, or press play and watch it run.

Ready to drive the full computation yourself? That's the Encrypt / Hash section.

The story of SHA-256

Fingerprints for data: what a hash promises, the rise and fall of MD5 and SHA-1, nothing-up-my-sleeve numbers, 64 rounds of mixing, and the avalanche effect — demonstrated on your message.

Read & explore →

The story of RSA

The padlock anyone can close: the key-distribution problem, the 1970s race that solved it, why factoring is the wall, and the road to a quantum-resistant future — demonstrated on your primes.

Read & explore →

The story of Caesar & Vigenère

Where it all began: Caesar's shift, al-Kindi's letter-counting attack, the keyword cipher that held for three centuries, and the break that taught cryptography its oldest lesson — on your message.

Read & explore →

XOR & perfect secrecy

Why one bit operation can build an unbreakable cipher—and why one reused pad destroys it.

Read & explore →

Inside Enigma

Changing substitution alphabets, rotor stepping, cribs, procedures, and the reflector's structural leak.

Read & explore →

How AES-128 works

The modern symmetric workhorse, its derived S-box, finite-field mixing, key schedule, and ten rounds.

Read & explore →

How ChaCha20 works

A modern stream cipher built from simple ARX operations—and the nonce rule inherited from one-time pads.

Read & explore →

The Diffie–Hellman exchange

How two parties create the same secret publicly, why discrete logs matter, and why identity is still missing.

Read & explore →

Elliptic curves & ECDH

From line-and-reflect geometry to finite fields, scalar multiplication, short keys, and a shared point.

Read & explore →

Hashes, HMAC & signatures

Fair treatment for each promise: fingerprints, shared-key authenticity, public verification, and tamper failure.

Read & explore →

The TLS handshake

The capstone: watch every earlier machine cooperate to authenticate, agree, derive, encrypt, and verify.

Read & explore →

About this project

Hey—we're Sean and Derek.

Cryptography Explorer is meant to make the invisible visible: the encryption and hashing algorithms you trust every day, run live on your own input, slowed down far enough to actually understand.

It grew out of two terminal animations we used as teaching aids — Greg Walker's wonderful SHA-256 Animation (MIT licensed) and a companion RSA animation built in its spirit by AG1 Derek Conklin. The web gave us room those terminals never had: richer explanations at every step, a scrubbable timeline, and animations you can rewind.

Creators LT Sean Egan, PhD & AG1 Derek Conklin

United States Navy · A partnership building learning tools for our METOC, space, cyber, and cryptologic colleagues.

sean@theinformed.org

Independent educational project, built by us on our own time. The views expressed here are ours alone and do not reflect the official policy or position of the U.S. Navy, the Department of War / Department of Defense, or the U.S. Government, nor do we represent them. This site is intended for learning, not operations — do not use it for operational decisions; use it at your own risk. The algorithms here use deliberately tiny numbers and simplified (unpadded) constructions so every value stays readable. They are teaching toys: never use them to protect real secrets.