Try it on paper first. A hint, the key idea and the worked solution are here when you need them.
This is a toy model with tiny numbers. The exam does not ask for this calculation. A public key is : it locks a number as . The matching private key is : it unlocks as .
Asymmetric encryption uses a matched key pair: a public key, which anyone may have and which encrypts, and a private key, which only the owner has and which decrypts. To send to someone, use their public key. No secret key has to travel.
Have you tried it?
Work it out on paper first. It is fine to get stuck or make a mistake: that is how we learn. When you are ready, go through the solution one step at a time, and check each step against your own.
Step 1. Lock. , and . So .
Step 2. Unlock. . Dividing by leaves . So the private key gives back .
Check. Locking again with the public key gives , not . The public key cannot undo its own lock. Only the private key can.
Answer: (a) . (b) .
Log in to join the discussion.
Loading…