Data Encryption
These are two different threat models with two different controls — TLS defends against an eavesdropper between the user and the server, while at-rest encryption defends against someone who later steals a database backup, a decommissioned hard drive, or a cloud storage snapshot.
Hands-on demo
Steal a database backup
Toggle encryption at rest, then simulate an attacker who gets hold of a full backup file — see what they actually walk away with.
Try it yourself
Try it yourself — run a scenario below, then flip this and replay it to see what changes.
Checkout Over TLS
A payment form submitted over HTTPS is unreadable to anyone intercepting the connection.
Want this flow explained in detail as it plays?
Checkout
Card
Before any form data is sent, the browser and server agree on encryption keys that only the two of them know.
Selected hop
Browser initiates a TLS handshake
The user's browser — where every request actually originates and every response is rendered.
Handles the request server-side — the only place a check can't be bypassed by the client.
What happens here
Before any form data is sent, the browser and server agree on encryption keys that only the two of them know.