##02 // Crypto Lab
Everything else in this guide — Tor, Signal, disk encryption, password managers — is a wrapper around a handful of cryptographic primitives. Understanding them makes every other decision easier. The tools below run entirely in your browser; nothing you type here is sent anywhere.
Glossary
- Symmetric encryption — one key locks and unlocks the data (AES). Fast, but both sides need the same secret.
- Asymmetric encryption — a public key locks, only the matching private key unlocks (RSA, Curve25519). Solves how two strangers agree on a secret.
- Hash function — a one-way fingerprint of data (SHA-256). Same input always gives the same output; you can't reverse it back to the input.
- Digital signature — proves a message came from a specific private key and wasn't altered in transit.
- Forward secrecy — even if a key leaks later, past conversations stay unreadable. This is how the Signal protocol works.
- End-to-end encryption — only the two endpoints hold the keys, not the server relaying the message.
Live hash generator
Toy cipher (XOR)
Password strength lab
Fingerprint practice
Best practices
- Never write your own encryption algorithm — use vetted, open, peer-reviewed implementations (AES-256, ChaCha20, Curve25519).
- Verify checksums and signatures on anything you download before you run it, not just one or the other.
- Keep a master signing key offline; use short-lived subkeys for everyday work.
- Store your revocation certificate somewhere separate from the key itself, in case you ever need to kill it.
- Prefer tools that give you forward secrecy for daily messaging over ones that don't.
$ sha256sum tails-amd64.img
$ gpg --verify tails-amd64.img.sig tails-amd64.img