Ch. 17 Security

17.1 Encryption

Encryption keys, plaintext and ciphertext

Symmetric encryption

Asymmetric encryption

17.2 Quantum cryptography

17.3 Protocols

Secure Sockets Layer (SSL)

Transport Layer Security (TLS)

Process of retrieving web page from web server

  1. Once the client types in the URL into the browser and hits the enter key, several steps will occur before any actual encrypted data is sent; known as the handshaking stage
  1. The client’s browser now requests secure pages (https) from the web server
  1. Web server sends back the SSL digital certificate (which also contains the public key), which is digitally signed by a third party called the certificate authority (CA)
  1. Once the client’s browser receives the digital certificate, it checks
    1. the digital signature of the CA
    1. if the start and end dates shown on the certificate are still valid
    1. if the domain listed in the certificate is an exact match with the domain requested by the client in the first place
  1. Once the browser trusts the digital certificate, the public key is used by the browser to generate a temporary session key with the web server; which is then sent back to the web server
  1. The web server uses its private key to decrypt the session key and then sends back an acknowledgement that is encrypted using the same session key
  1. The browser and web server can now encrypt all the data/traffic sent over the connection using this session key; a secure communication can now take place

17.4 Digital signatures and digital certificates

Digital signatures

Digital certificates