Chap 2.
3 - Encryption
1. Encryption:
- Data is scrambled using a key to create a cipher text
- If intercepted it cannot be understood without being decrypted using a key
- Uses an algorithm or a key
- Plain text is changed to cipher text
Purpose/Reason of encryption
- To make the data meaningless
- To help keep the data secure
Describe how the data are encrypted.
- Encryption key is used
- Encryption algorithm is used
- Encryption key / algorithm is applied to plain text to convert it into cypher text
- Same key is used to encrypt and decrypt the text
Q: How encryption improves data security.
- Encrypted text is meaningless
- Need the key to decrypt the text
- The data will be meaningless if it is stolen.
Plain Text : Plain text is the original text
Cypher/ Cipher Text - Cypher text is the encrypted version of the plain text.
Symmetric Encryption
- Plain text is encrypted into cipher text // cipher text is decrypted into plain text
- Data is encrypted using an algorithm that uses a key
- The key can be generated using an algorithm
- The key is transmitted to the receiver
Q: A system uses 64-bit symmetric encryption. Explain one method that could be used to increase the
level of security provided by the encryption.
- Increase the length of the key, more bits used for key
- Uses a more complex encryption algorithm
Explain how symmetric encryption is used to protect the data.
- Data is encrypted and decrypted using the same key
- Data is scrambled to make it meaningless
- Data before encryption is known as plain text
- Data after encryption is known as cypher text
- Key is sent to receiver to allow data to be decrypted
Asymmetric Encryption
- Asymmetric key uses public keys and private keys
- The public key is used to encrypt the data and the private key is used to decrypt the data.
- The public key is published to everyone but the private key is kept secret.
- Anyone with a copy of the public key can encrypt information but only the private key holder can read it.
- Encryption are generated by a hashing algorithm
Reason why asymmetric encryption instead of symmetric encryption
- The process is more secure
- Do not need to worry about key exchange
Similarity between symmetric encryption & asymmetric encryption
- They both use a key
- They both scramble the data // both make the data meaningless
- They both turn plain text into cypher text
Difference between symmetric encryption & asymmetric encryption
- Symmetric uses one key whereas asymmetric uses two keys
- Symmetric can send the key with the data whereas asymmetric does not
- Symmetric decrypts the data using the same key whereas asymmetric decrypts the data using a different key
- Symmetric is less secure than asymmetric