Understanding Cryptography by Christof Paar and Jan Pelzl - Chapter 4 Solutions - Ex4.2
- 4 mins- Return to index
- Exercise 4.1
- Exercise 4.2
- Exercise 4.3
- Exercise 4.4
- Exercise 4.5
- Exercise 4.6
- Exercise 4.7
- Exercise 4.8
- Exercise 4.9
- Exercise 4.10
- Exercise 4.11
- Exercise 4.12
- Exercise 4.13
- Exercise 4.14
- Exercise 4.15
- Exercise 4.16
Exercise 4.2
For the AES algorithm, some computations are done by Galois Fields (GF). With the following problems, we practice some basic computations.
Compute the multiplication and addition table for the prime field \(GF(7)\). A multiplication table is a square (here: \(7 \times 7\)) table which has as its rows and columns all field elements. Its entries are the products of the field element at the corresponding row and column. Note that the table is symmetric along the diagonal. The addition table is completely analogous but contains the sums of field elements as entries.
Solution
This solution is verified as correct by the short script I wrote to check it (see below).
2. Addition and Multiplication Tables for \(GF(7)\):
I wrote a python script which can calculate addition and multiplication tables for \(GF(p^1)\) fields: