Understanding Cryptography by Christof Paar and Jan Pelzl - Chapter 4 Solutions - Ex4.5- 2 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
Multiplication in : Compute in using the irreducible polynomial . What is the influence of the choice of the reduction polynomial on the computation?
This solution is verified as correct by the official Solutions for Odd-Numbered Questions manual.
The influence of the reduction polynonomial choice is that different irreducible polynomials will produce different results for any multiplications that require modulo reduction to bring them back into the field.
1. Since a naive multiplication would produce an order 5 polynomial, this must be reduced using the reduction polynomial. The naive multiplication produces this output:
In order to finish, we must reduce :
The effect of the reduction polynomial is that it would produce a different output given a different irreducible polynomial.
The remainder of this division is . This answer can be verified as correct (assuming my code is correct) by placing the following python code in the __main__ section of the script written for Ex4.3:
2. No modulo reduction is required to calculate this multiplication (since the output is still in the field):