Exercise 1.2 (aes)