ROT13 is a Caesar cipher, a type of substitution cipher. In ROT13, the alphabet is rotated 13 steps.Bust of Julius Ceasar

The Caesar or Shift Cipher

In cryptography, a Caesar cipher, also known the shift cipher, or Caesar shift, is one of the simplest and most widely known encryption techniques. It is a type of substitution cipher in which each letter in the plaintext is replaced by a letter some fixed number of positions down the alphabet. For example, with a shift of 3, A would be replaced by D, B would become E, and so on. The method is named after Julius Caesar, who used it to communicate with his generals (wikipedia)

 

In the example on the left the 26 letters of the alphabet are shifted by 13 letters.  The interactive demonstration below includes the 94 available ASCII characters. The first ASCII character " " (i.e. the space)  has an ASCII value of 32. The final ASCII character "~" has an ASCII value of 125.

 

Execute an encryption by typing in a plain text message, an integer key, and clicking the "Encrypt" button.  The arithmetic to execute the shift is performed in mod 94, so any integer from 1 to 93 will do. In mod 94, 94=0, 95=1, etc. You can decrypt the message by cutting and pasting the result into the plain text box and entering the negative of the original key. Now you may use this page to send secret messages to your friends  and colleagues.

 

Enter Plain Text:        Enter Key:     


   

Below are histograms of the two sets of ASCII code.  From these, the weakness of the Caesar Cipher is quickly ascertained.  In a typical message, the space (ASCII code 32) occurs most often.  By comparing the peaks in the two histograms, one can quickly determine the key.  Besides the shift, the two histograms are identical.
 

 

 Plain Text ASCII Histogram

Encrypted Text ASCII Histogram

 

Based on the above description, cut and paste the encrypted text below into the plain text box.  Guess a key.  From the resulting histograms, can you ascertain the actual key and decrypt the message.  If you get it, let me know at F9>35F:p=C>^3?= (this is my email encrypted using the same key used to encrypt the message below).  Good Luck!!

v?EBOC3?B5O1>4OC5F5>OI51BCO17?O?EBO61D85BCO2B?E78DO6?BD8O?>OD89CO3?>D9>5>D[O1O>5GO>1D9?>[O3?>359F54O9>O|925BDI[O1>4O454931D54OD?OD85O@B?@?C9D9?>OD81DO1<<O=5>O1B5O3B51D54O5AE1<^O~?GOG5O1B5O5>71754O9>O1O7B51DO39F9<OG1B[OD5CD9>7OG85D85BOD81DO>1D9?>[O?BO1>IO>1D9?>OC?O3?>359F54O1>4OC?O454931D54[O31>O<?>7O5>4EB5^O(5O1B5O=5DO?>O1O7B51DO21DD<5]695<4O?6OD81DOG1B^O(5O81F5O3?=5OD?O454931D5O1O@?BD9?>O?6OD81DO695<4[O1CO1O69>1<OB5CD9>7O@<135O6?BOD8?C5OG8?O85B5O71F5OD859BO<9F5COD81DOD81DO>1D9?>O=978DO<9F5^OyDO9CO1<D?75D85BO69DD9>7O1>4O@B?@5BOD81DOG5OC8?E<4O4?OD89C^OrED[O9>O1O<1B75BOC5>C5[OG5O31>O>?DO454931D5O]]OG5O31>O>?DO3?>C53B1D5O]]OG5O31>O>?DO81<<?GO]]OD89CO7B?E>4^O%85O2B1F5O=5>[O<9F9>7O1>4O4514[OG8?OCDBE77<54O85B5[O81F5O3?>C53B1D54O9D[O61BO12?F5O?EBO@??BO@?G5BOD?O144O?BO45DB13D^O%85OG?B<4OG9<<O<9DD<5O>?D5[O>?BO<?>7OB5=5=25BOG81DOG5OC1IO85B5[O2EDO9DO31>O>5F5BO6?B75DOG81DOD85IO494O85B5^OyDO9CO6?BOECOD85O<9F9>7[OB1D85B[OD?O25O454931D54O85B5OD?OD85OE>69>9C854OG?B;OG8938OD85IOG8?O6?E78DO85B5O81F5OD8ECO61BOC?O>?2<IO14F1>354^OyDO9COB1D85BO6?BOECOD?O25O85B5O454931D54OD?OD85O7B51DOD1C;OB5=19>9>7O256?B5OECO]]OD81DO6B?=OD85C5O8?>?B54O4514OG5OD1;5O9>3B51C54O45F?D9?>OD?OD81DO31EC5O6?BOG8938OD85IO71F5OD85O<1CDO6E<<O=51CEB5O?6O45F?D9?>O]]OD81DOG5O85B5O8978<IOB5C?<F5OD81DOD85C5O4514OC81<<O>?DO81F5O4954O9>OF19>O]]OD81DOD89CO>1D9?>[OE>45BOw?4[OC81<<O81F5O1O>5GO29BD8O?6O6B554?=O]]O1>4OD81DO7?F5B>=5>DO?6OD85O@5?@<5[O2IOD85O@5?@<5[O6?BOD85O@5?@<5[OC81<<O>?DO@5B9C8O6B?=OD85O51BD8^O

Hit Counter