View on GitHub

Code Fellows reading notes

A repository for organizing notes from my learning.

Cryptography

Encryption, Decryption, and Cracking

Source: Khan Academy

The Caesar Cipher is one of the oldest encryption techniques.

It involves shifting the alphabet a certain number of times to one direction or the other, so that each letter actually represents another.

SECRET MEETING AT THE PALACE

Shifted 6 times comes out to

YKIXKZ SKKZOTM GZ ZNK VGRGIK

The shifted message appears to be completely unreadable, but if you know the shift that encoded it, decoding is easy.

According to records Caesar always used a shift of 3, but in the case that the shift is unknown, cracking the cipher is entirely possible using one of three methods.

Additional terms to know

More on The Caesar Cipher

Source: Wikipedia - Caesar Cipher

Same information, but a little more dry.

The Caesar Cipher is a very simple encryption, and doesn’t off any sort of communication security in the modern day.

Frequency analysis is the best approach to solving. Vowels will generally have the highest frequency, with E being the very top most often.

That said, modern computers can also make brute force decryption fast and easy.