Encryption Flashcards
Define encryption
Encoding a message so that only the sender and recipient can read it
Types of encryption
Symmetric encryption
Asymmetric encryption
Symmetric encryption
Encrypting data using a single key for both the sender and receiver
Aysymmetric encryption
A form of encryption using a public and private key
Public key
Encrypts the message (converts the message to cypher-text)
Private key
Decrypts the message (converts the cypher-text back into the message)
How does asymmetric encryption work
- Sender encrypts the message using the public key
- Receiver decrypts the message using the private key
- The public key can not be used to decrypt a message
- Both people must keep their private key to themselves
For 2 way communication both people must have their own private key and the other persons public key
Requirements for 2 way communication with asymmetric communication
Both people must have their own private key and the other persons public key
Faults with symmetric encryption
- key is vulnerable to interception when being sent from sender to receiver
- If 3rd party gets key , they can read all communication in both directions
- Mathematical analysis can be used to decipher the code (looking at common letters)
Faults with aysymetric encryption
Tends to be prodcessor heavy
Is generally used to send a symmetric encryption key , after this symmetric encryption is used