Vigenère cipher · 07 Try it yourself

Vigenère cipher: try it yourself

Encryption and decryption exercises with the Vigenère cipher, with solutions.

Exercise 1: decrypt

This message was encrypted with the key ROME:

terminale
UCZSKHDYJHMTGSMVRBOIJ

Write the repeated key under the ciphertext and shift each letter backwards by the value of the key letter (R = 17, O = 14, M = 12, E = 4).

Exercise 2: encrypt

Encrypt the word CRYPTOGRAPHY with the key MOON and check the result by decrypting it.

Exercise 3: observe

Encrypt AAAAAAAAAAAA with the key MOON. What do you get? Why does this immediately reveal the key?

Continue with
08 FAQ

Vigenère cipher: frequently asked questions

Short answers to the most common questions about the Vigenère cipher.

↑