Detailed · Deep study
1Why encrypt?
Data sent across a network can be intercepted by a hacker. Encryption means that even if the data is intercepted, it is meaningless without the key. It protects confidential data such as passwords, bank details and personal messages.
2Symmetric and asymmetric encryption
| Symmetric | Asymmetric | |
|---|---|---|
| keys | one secret key | a key pair: public key and private key |
| encrypt with | the secret key | the receiver's public key |
| decrypt with | the same secret key | the receiver's private key |
| main problem | the key must be sent to the receiver – it could be intercepted | slower to process |
| strength | fast | the private key is never sent, so it is more secure |
In asymmetric encryption, anyone can have the public key, but data encrypted with it can only be decrypted by the matching private key, which never leaves the receiver.
3Exam focus
Key words: encryption; plaintext; ciphertext; key; symmetric; asymmetric; public key; private key; intercept.
Quick self-check
Answer in your head first, then reveal.
To make data meaningless/unreadable if intercepted (1).
A uses B's public key to encrypt (1); B uses B's private key to decrypt (1); private key never shared (1).
The key must be shared and could be intercepted (1).
