TLS
TLS 1.2

TLS packet consists of a header, and an encrypted TLS record (max 16kb)
It uses unidirectional keys (one key from browser to server, and another from server to browser).
Stateful encryption means that encryption of each packet depends on state maintained in the browser and server.
The purpose of the state is to prevent replay attacks.
Encryption

Decryption
