# Understanding Cryptography by Christof Paar and Jan Pelzl - Chapter 2 Solutions - Ex2.7

- 2 mins- Return to index
- Exercise 2.1
- Exercise 2.2
- Exercise 2.3
- Exercise 2.4
- Exercise 2.5
- Exercise 2.6
- Exercise 2.7
- Exercise 2.8
- Exercise 2.9
- Exercise 2.10
- Exercise 2.11
- Exercise 2.12

## Exercise 2.7

Compute the first two output bytes of the LFSR of degree 8 and the feedback polynomial from Table 2.3 where the initialization vector has the value FF in hexadecimal notation.

*Note*: The polynomial referred to is .

### Solution

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

This LFSR derived from this polynomial can be visualised as such:

The sequence generated by , which is , is as follows:

The resulting first two output bytes are .