Welcome to Cracking the Code

You don’t have to be an expert in cryptography to appreciate the field. Cryptography is all around us. We use it to store sensitive data, send secret messages, send financial information over the internet, hide messages from parents, etc. The methods we will cover in this website can be easily picked up with some knowledge of basic arithmetic and some modular algebra (not as scary as you think).

This is an educational website dedicated to teaching you how to use various encryption techniques to code and decode messages. The goal is to show you some of the most famous encryption techniques for the last 2000 years and how they're used. Each page has an cipher introduction, how it works, example, and the cipher tool. The cipher tool will let you code and decode messages.

The standard substitution ciphers use private keys. This means the person sending and receiving the message have knowledge of the encryption technique and key. If someone intercepted the message, they would not be able to quickly decode the message.

Decoding messages without knowing the key can be very fun. We've developed many techniques for various systems. For the monoalphabetic ciphers (Shift, Random, Keyword), we can use a technique called Frequency analysis. Use it to find the answer to the riddles.

I've encrypted the following text with the same one as the answers to the riddles below. Use frequency analysis to decode the following paragraph. Then use it to answer the riddles below.

HY JPHI DQ FVLSBI. D BPVI QSLGIJ MODJTIQQIQ APTF COLH QGIIMDJK APOOLW FDJKQ. D AUOJIR RLWJ SBI SLWJ LC SOIALJ. D BPVI QMIJS SBI JDKBS WDSB CIGUODPJ PJR GICS WDSB ALSB HY QPJDSY PJR HY GDCI. D WPQ IXMIGGIR COLH SBI UJDVIOQDSY PS P YLUJKIO PKI SBPJ HLQS MILMGI POI PGGLWIR DJ. D SOIPR MPSBQ AY HLLJGDKBS SBPS LSBIOQ CIPO SL QMIPF LC RUODJK RPY. D BPVI SPGFIR SL KLRQ, GLVIR WLHIJ, PJR WODSSIJ QLJKQ SBPS HPFI SBI HDJQSOIGQ WIIM. YLU HPY BPVI BIPOR LC HI. QL AIKDJQ P SPGI UJINUPGIR DJ CPJSPQY GDSIOPSUOI—SBI QSLOY LC P BIOL SLGR DJ BDQ LWJ VLDTI. DS DQ P SPGI LC QLOOLW, P SPGI LC QUOVDVPG, P SPGI LC LJI HPJ’Q QIPOTB CLO HIPJDJK DJ BDQ UJDVIOQI, PJR BLW SBPS QIPOTB, PJR SBI DJRLHDSPAGI WDGG SBPS ROLVI DS, KPVI ADOSB SL P GIKIJR.

  1. What did the one eye say to the other?

    AISWIIJ YLU PJR HI QLHISBDJK QHIGGQ!

  2. Why can't you tell an egg a joke?

    DS HDKBS TOPTF UM.

  3. Did you hear the joke about about the roof?

    JIVIOHDJR, DS'Q LVIO YLUO BIPR.

  4. How can a pants pocket be empty and still have something in it?

    DS TPJ BPVI P BLGI DJ DS.