Skip to content
BENIBIX Learn

Encryption

Development🔐 SecurityDefences

Also known as Encrypt, Encrypted, Data Encryption

Locking data with a key. Only someone with the key can read it.

Think of it like

Think of it like a locked box. Only the person with the key can open it and read the note.

Example

Emma's laptop is stolen from a café. Its disk is encrypted, so the thief sees only noise without her password.

Why it matters

Your data travels over wires you do not own, and it can be stolen. Locked data stays private.

Definition

Encryption scrambles data with a key, so only someone with the right key can read it. Without the key, the data looks like random noise. Unlike hashing, it can be undone, which is the whole point. Data is encrypted in transit, like HTTPS on the web, and at rest, like a phone's storage. AES and RSA are two of the most used methods.

Common mistake

Making up your own way to lock data. Use a tested library; home-made ones nearly always fail.

Key takeaways

  1. 1
    A key locks and unlocks. Reversible.
  2. 2
    In transit and at rest. On the wire and on disk.
  3. 3
    Never roll your own. Use tested libraries.

Compare