Exercise 2: sample answer (a) Lock message 2 with the public numbers 33 and 3: 2 x 2 x 2 = 8. 8 divided by 33 leaves 8. Cipher number: 8 (b) Unlock with the private number 7: 8 to the power 2 = 64, which leaves 31 after dividing by 33 (64 - 33). 31 is the same as minus 2 on this clock. 8 to the power 4 = (minus 2) x (minus 2) = 4. 8 to the power 6 = 4 x (minus 2) = minus 8. 8 to the power 7 = (minus 8) x 8 = minus 64. Adding 66 (two lots of 33) gives 2. The message number is 2, as it started. Locking and unlocking are inverses, but you needed the private number 7 to do the second step, and 7 comes from knowing the secret primes 3 and 11.