Mathematical formalisation of encryption and decryption Flashcards
1
Q
Mathematical formalisation
A
- A - finite set of alphabets
- M ⊆ A∗ is the message space. m ∈ M is a plaintext (message).
- C is the ciphertext space, whose alphabet may differ from M
- K denotes the key space of keys
- Each e ∈ K determines a bijective function from M to C, denoted by Ee. Ee is the encryption function/
transformation. You can write we will write Ee(P) = C or, equivalently, E(e, P) = C. - For each d ∈ K, Dd denotes a bijection from C to M.
Dd is the decryption function. - Ee is the encryption function and Dd is the decryption function.
2
Q
Encryption Scheme
A
- An encryption scheme (or cipher) consists of a set {Ee | e ∈ K} and a corresponding set {Dd | d ∈ K} with the property that for each e ∈ K there is a unique d ∈ K such that Dd = E−1e
- Dd (Ee(m)) = m for all m ∈ M.
- The keys e and d above form a key pair, sometimes denoted by (e, d). They can be identical (i.e., the symmetric key).
- To construct an encryption scheme requires fixing a message space M, a ciphertext space C, and a key space K, as well as encryption transformations {Ee | e ∈ K} and corresponding decryption transformations {Dd | d ∈ K}.
3
Q
Bijection example lecture 2.2 (slide 7)
A
M = {m1, m2, m3} and C = {c1, c2, c3}
there are 3! = 6 bijections from M to C
The key space specifies the number of transformations - in this example there were 6 keys so, check all the possible transformations from m -> c when E1, E2, E3, E4, E5 and E6 are used.