Explore

Symmetric Encryption & Classical Ciphers

by Froga

From Caesar's shift cipher to AES: what a cipher and a key actually are, why classical ciphers fall to frequency analysis, and why modern block ciphers replaced DES.

You're previewing this room. Log in or create a free account to answer the questions and track your progress.
Study material

Cryptography has a small, precise vocabulary worth getting straight before anything else. Plaintext is the readable message. Ciphertext is what it looks like once transformed. A cipher is the general procedure used for that transformation -- Caesar's shift, for instance. A key is the secret value fed into the cipher that determines exactly how a given message gets scrambled, so the same cipher run with a different key produces a different, unrelated ciphertext. Encryption turns plaintext into ciphertext; decryption reverses it. Symmetric encryption, the subject of this room, uses the same key for both directions -- whoever can encrypt with it can also decrypt with it, which is why guarding that one key is the whole game.

What is the difference between a cipher and a key?

multiple choice

A cipher and a key are two names for the same thing.
A key is the algorithm; a cipher is the secret input to it.
A cipher is the general algorithm for transforming data; a key is the secret parameter that makes one specific transformation different from another using the same cipher.
A cipher only decrypts; a key only encrypts.
Think of the cipher as the machine, and the key as the setting you dial in.
Log in to answer

Ready to test yourself?

Sign up free to answer, score points, and build your streak.