Frequency Analysis Workshop

Part 2: Cracking the Cipher

Step 1: The Ciphertext

Step 2: Initial Frequency Analysis

This chart compares the frequency of each letter in your ciphertext against the standard frequency in the English language. Notice how the *pattern* of high and low bars is similar, even if the letters are scrambled!

Step 3: Automated Cracking

Now, let's use a hill-climbing algorithm to automatically find the key by swapping letters and trying to match the quadgram frequency of English.