Skip to content
Opsfolk

Security foundations, topic 4 of 70

Encryption

Symmetric encryption, such as AES, uses one key to encrypt and decrypt: fast, for data at rest and in bulk. Asymmetric encryption, such as RSA or elliptic curves, uses a public key and a private key: slower, for exchanging keys and for signatures. TLS uses both.

Never invent your own: use a well-known library and its defaults. The hard part is rarely the algorithm; it is keeping the keys safe and rotating them.

On Opsfolk

Nothing of ours for this topic yet: an article is on its way.

Elsewhere

Your progress