You’ve signed in to buy a train ticket. Who can read the details you send?
You’ve signed in to buy a train ticket from Leeds to York. As your details travel to the ticket site, someone could try to copy the data. What would stop them from reading what you sent?
You enter your sign-in details, and the site checks that you are who you claim to be. That check is authentication. Once you send data over the network, signing in by itself does nothing to change what a person could read from a copy of it.
Start with the word bus. In this toy example, a key controls how you change bus into D, W, U before sending it. If someone copies the data in transit, they get those changed letters. The receiver uses the appropriate key to recover bus.
Think back to the animation. The sender changes bus before sending it, and the receiver changes it back after it arrives. What letters would someone copy while the message is travelling? Pick one answer.
You started with a readable message, called plaintext, and saw an encrypted version, called ciphertext. Encryption uses a key to turn plaintext into ciphertext. Decryption goes the other way: the authorised receiver uses the appropriate key to turn ciphertext back into plaintext.
The key is two. Move each letter two places forward: B becomes D, U becomes W, and S becomes U. Join the letters to get D, W, U. To recover bus, move each letter two places back. Real network encryption uses much stronger methods.
This time the sender used a shift of one, and the ciphertext is D, B, U. To decrypt it, move each letter back one place. What plaintext do you get? Pick one answer.
You might think encryption blocks unwanted connections. Its job is to keep the message confidential if someone copies it. A firewall has a different job: it checks network traffic against rules, then allows or blocks that traffic according to those rules.
When your laptop tries to join a Wi-Fi network, it presents its MAC address. With MAC address filtering set up to use an approved list, the network checks for that address and rejects it if it isn’t listed. This check does not tell you who is using the laptop.