why do we use encryption?
-minimises risk of being intercepted
-unreadable to whoever intercepts data
plaintext?
original data being sent
ciphertext?
plaintext after it has gone through an encryption algorithm
symmetric encryption
uses the same encryption key to encrypt and decrypt the encoded message
asymmetric encryption
uses public and private key
public key
available to everybody (encrypts)
private key
only the computer user knows (decrypts)
how does asymmetric encryption work?
1) Matching keys are made
2) A sends their public key to B
3) B uses A’s public key to encrypt document being sent
4) B sends encrypted document to A
5) A uses private key to decrypt the document