Choosing a cryptographic technique for a scenario
Choose symmetric encryption for stored data, asymmetric keys to swap keys and sign, and hashing to check integrity and store passwords. Justify the choice.
Understanding Choosing a cryptographic technique for a scenario in VCE Data Analytics U4O2
What it does: ECDH uses asymmetric key pairs to let both sides work out a shared secret key. That key then drives fast symmetric encryption for data in transit. A salted hash is one-way, so the original password cannot be recovered. The site hashes the login attempt and compares it to the stored value. Asymmetric techniques let two parties establish a shared key over an open network. A hash of the key cannot be reversed, so the receiver could not use it. Hashing supports integrity. If even one bit changes, the hash changes. Encrypting a file does not show whether it was altered.
Common mistakes: Symmetric encryption like AES uses one shared secret key to both encrypt and decrypt. A public/private pair belongs to asymmetric encryption. The line should be key = "one shared secret key". Checking that a file is unchanged is an integrity job, so you compare hashes. Encryption protects confidentiality and does not provide a digest to compare. It should be technique = "hash (SHA-256)".
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 44–79) and word search (Modules 44–113).
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
Match technique to jobFill in the Blanks
Spot the Error
Student with a class code? Join your class →