BolEnglishLearn · Play · Win
Login

🔒 Security · Security Fundamentals

🔒

Encryption

Security ControlCoreModule 6

Protect data using cryptography in transit and, where required, at rest.

Sensitive data should not travel as readable plain text.

💡 In practice

HTTPS protects data between browser and server.

🖼️ CONCEPT PICTURE
A picture to help remember Encryption
HTTPS protects data between browser and server.

💡 Like sending a letter in a locked box instead of a postcard: anyone handling it along the way cannot read what's inside.

💡 Learn🛠️ Apply🎯 Check

💡 Why it matters

Data moves across networks and sits on disks that others may reach. Without encryption, a wiretap or a stolen drive hands over everything in readable form. Encryption keeps intercepted or stolen data useless to whoever grabs it.

🛠️ How to achieve it

1
Use HTTPS everywhere
Serve all pages and APIs over TLS so traffic cannot be read in transit.
2
Encrypt sensitive data at rest
Turn on storage or database encryption for data that would hurt if leaked.
3
Use standard algorithms
Rely on vetted, modern cryptography libraries instead of inventing your own.
4
Protect the keys
Store encryption keys in a key manager, separate from the data they unlock.

⚠️ Signs of trouble

  • •Login or sensitive pages are served over plain HTTP.
  • •Certificates are expired or mismatched.
  • •Sensitive fields sit in the database as readable text.
  • •A home-grown cipher is used instead of a standard one.
⚠️ Common mistake: Inventing your own encryption scheme. Use established TLS and well-reviewed cryptographic libraries, and keep the keys separate from the data.

🎯 Quick check

Score: 0/3

Three questions to test the idea.

  1. 1. What does 'encryption in transit' protect against?

    Answer: Someone reading data as it crosses the network

    In-transit encryption, such as HTTPS, keeps data unreadable to anyone intercepting it on the network.

  2. 2. Why avoid writing your own encryption algorithm?

    Answer: Home-grown ciphers are usually weak and easy to break

    Proven, peer-reviewed cryptography is far safer than a custom scheme that has never been tested by experts.

  3. 3. Where should encryption keys be kept?

    Answer: In a key manager, separate from the data they unlock

    Keys stored with the data give an attacker both at once; a separate key manager keeps them apart.

🔑 Key terms

In transit
Data moving across a network between two points.
At rest
Data sitting stored on a disk or in a database.
TLS
The standard that makes HTTPS connections private and verified.
Key management
Safely storing, rotating, and controlling encryption keys.

✅ Review checklist

📊 Your progress

0%
Mark this topic learned to track it.
Saved in this browser.
🚀 Got it?
Mark it learned and move to the next topic.
Next topic →