# Understanding Cryptography by Christof Paar and Jan Pelzl - Chapter 1 Solutions - Ex1.11

- 3 mins

## Exercise 1.11

This problem deals with the affine cipher with the key parameters a = 7, b = 22.

falszztysyjzyjkywjrztyjztyynaryjkyswarztyegyyj

1. Decrypt the text above.
2. Who wrote the line?

### Solution

This solution is verified as correct by the official Solutions for Odd-Numbered Questions manual.

1. Given that we possess the key, we can decrypt this directly:

FIRSTTHESENTENCEANDTHENTHEEVIDENCESAIDTHEQUEEN


2. Lewis Carroll wrote this in one of his poems.

I wrote a python script which can perform affine cipher encryptions/decryptions.