Sending a secure message with asymmetric encryption
The receiver shares their public key, the sender encrypts with it, and only the receiver's private key can decrypt it. No secret key is shared, so an interceptor sees only ciphertext.
Understanding Sending a secure message with asymmetric encryption in IGCSE Computer Science Paper 1
What it does: Priya encrypts with Sam's public key because Sam is the receiver and only Sam's private key can decrypt it. Asymmetric encryption uses a key pair. The private key never leaves its owner, so no secret key has to be shared. Anyone can have the public key. Decrypting needs the private key, which Sam keeps to himself.
Common mistakes: The sender must encrypt with the receiver's public key, not a private key. The private key stays with its owner. The line should be 'Ava encrypts with public key'. Zoe must share her public key, not her private key. The private key is never shared because it is the only key that can decrypt. The line should be 'Zoe shares her public key'.
Free printable worksheet with full answer key — or add this module to a class and your students practise it interactively.
This module's key terms are also in a printable crossword (Modules 204–217) and word search (Modules 189–217).
Take this worksheet further — free with Cloodit
Each concept is reinforced from every angle — learned, then applied, then tested.
Cloodit turns curriculum-aligned coding content into journeys students work through one biome at a time.
Over 100 of them, across seven natural biomes.
Turns their work into revision material ready for Flash Cards and Exam study.
Live, competitive practice for the start of the lesson or a teacher-led lesson finisher.
Honour your top performers, or encourage a student who's trying hard — ready to print in seconds.
Quick Questions
Match the Pairs
Key Term
Encrypt with public key, decrypt with private keyFill in the Blanks
Spot the Error
Student with a class code? Join your class →