Cryptography I course - homework week 2