ECDSA
A digital signature algorithm that uses a private key to sign a message and the matching public key to verify it.
Understanding ECDSA in VCE Cyber Security
What it does: This code generates the linked private and public keys used for signing and verification. Only the private key can create a valid signature for a message. Only the public key should be shared; the private key must remain secret. Verification uses the sender's public key, which anyone can access without compromising security. If the message changes after signing, verification against the original signature will fail. Anyone with the private key can create signatures that will pass verification as genuine. verify() expects the message first and the signature second; swapping them breaks the check.
Common mistakes: Line 1 calls verify() to create the signature, but sign() should be used with the private key to create it. Line 1 passes the public key pub as the message, but sign() should take the actual message being signed.
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 51–60) and word search (Modules 41–74).
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
ECDSAFill in the Blanks
Spot the Error
Student with a class code? Join your class →