|Project 6, 2015||Research Experience for Teachers||Project 4, 2016|
The text in the field labeled "encrypted:" is (or is close to being) a
famous quote that is encrypted by shifting the letters A-Z, space, and
the characters comma and single quote by some number of positions to the
left or right. The JComboBoxes at the bottom of the applet represent
a guess at the shift that was used to encrypt. There are two ways
to experiment with the applet.
Tip: It is usually not hard to determine which character translates to a space. Suppose it is X. Then select the space character in X's JComboBox and click either the + or - button.
Example: Suppose the encrypted quote is the following:
This quote has a lot of Z characters and it is reasonable to suppose that this character translates to space. Click "Reset" then Select ' ' from the pull-down menu of Z's JComboBox. Click the + button to get this:
That did not work so click on "Reset" then select the space character from Z's menu and click the - button. The result is:
|This is the classic "Caesar Cipher" where the key is just a shift in position of each character allowing for wrap-around. It is really easy to break. Theoretically, for this example, you only have to try at most 27*2 different alphabet-wide position shifts (a shift of 0 is disallowed for obvious reasons).|