System Design
13. Security ArchitectureAnimated
Symmetric Encryption
One shared key encrypts and decrypts.
The idea
Fast, for bulk data, such as AES. The challenge is sharing the key safely.
Watch it work
Press play, pause, or step through. Some animations have settings you can change.
- current message
- earlier
- failure or attack
The browser lists what it supports and sends a random value.
- step:
- 1/6
- from:
- Browser
- to:
- Server
1/6
Time runs downward. Solid arrows are requests, dashed arrows are replies.
Step by step
- 1Share a secret key
- 2Encrypt with it
- 3Send ciphertext
- 4Decrypt with the same key
Where it is used
Data at rest and session traffic.
Watch out for
Key distribution.