Chapter 5
Encryption Algorithms
IN THIS CHAPTER
Seeing how encryption works
Understanding encryption basics
Looking at symmetric and asymmetric encryption
Cracking encryption with attacks
Encryption involves scrambling information, or plaintext, and converting it into another format — ciphertext — essentially, turning ordered data into seemingly random gibberish. By encrypting information, you can keep data information out of the hands of other people, which can be useful for sending coded messages for military use, sending credit card information over the Internet to online shopping websites, or just hiding your personal documents from the prying eyes of family members, coworkers, or strangers.
How Encryption Works
The simplest form of encryption is a substitution cipher, which basically replaces each letter with a specific symbol, such as another letter. A simple algorithm, called the Caesar cipher, is a substitution cipher that replaces one letter with another letter from the alphabet a fixed distance away, such as replacing the letter A with the letter Z, the letter B with ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access