reading-notes

Encryption, Decryption & Hacking

Encrypting a message

Scrambling the data according to a secret key.

The Caesar Cipher is a great introduction to encryption, decryption, and code cracking, thanks to its simplicity.

The Caesar Cipher is a simple substitution cipher which replaces each original letter with a different letter in the alphabet by shifting the alphabet by a certain amount. In the encrypted message above, the alphabet is shifted by 6.

Decrypting a message

Recovering the original data from scrambled data by using the secret key.

As long as his message recipient knew the shift amount, it was trivial for them to decode the message.

Cracking the cipher

Uncovering the original data without knowing the secret, by using a variety of clever techniques.

There are three main techniques:

Source: https://www.khanacademy.org/computing/computers-and-internet/xcae6f4a7ff015e7d:online-data-security/xcae6f4a7ff015e7d:data-encryption-techniques/a/encryption-decryption-and-code-cracking