Encryption
Computer Science: Cambridge International GCSE, topic 1.2.6
Encryption
Sensitive data is going to be transferred. Then it is important that we keep data secure from third parties.

Encryption
- Encrypting data is the process of scrambling data according to a specific algorithm.
- So the data cannot be read by third parties.
- Only the intended recipient will know how to decode the data.

Keys
- A lot of encryption depends upon secret keys.
- Secret keys are shared secret pieces of data.
- Keys are made up of a pair of very large prime numbers, either 256 or 1,024 bits long.
- Guessing the key would take an impractical amount of time.
- So we say that the encryption is secure.

Wireless communication
- Encrypting wireless communication is especially important.
- Protocols exist for wireless communication, such as WiFi Protected Access version 2 (WPA2).
- WPA2 encrypts all traffic.
Symmetric Encryption
The use of encryption is vital to protect our private information. One type of encryption is symmetric encryption.

Symmetric encryption
- Symmetric or private key encryption is used to encrypt data for transmission.
- A private key is used to convert plain text into cypher text.
- This cypher text and private key are then transferred to another location or person.
- The key is then used to decrypt the cypher back into plain text.

Security
- Using a single key to encrypt and decrypt text proposes a massive flaw in security, as anyone with the key can decrypt the cypher.
- As with passwords, the longer the encryption key, the less likely it is to be compromised by brute force, and so the more secure the encryption.
Test yourself on Encryption
What is a secret key used in encryption?
What is a protocol that encrypts wireless traffic?
Symmetric Encryption
Is the following statement true or false?
Anyone with the private key can decrypt the cypher text generated by symmetric encryption.