MyLeoNes™

Encryption: hiding a message with a key — Computing, 11–13 years

Encryption changes readable information into scrambled text that should be useless to anyone without the right key for changing it back.

A locked version of a message

Encryption scrambles a message using a method and a key. The result may look like nonsense, while the person with the matching key can turn it back into the original. It protects the message while it travels or sits on a device.

Why messages need hiding

Messages often cross networks or are stored where other people might inspect them. Sending them in plain text is like writing a secret on a postcard. Encryption was developed to let intended readers communicate without giving every observer an easy view of the content.

A tiny letter shift

Use a toy rule: move every letter one place forward, so A becomes B and B becomes C. The message CAT becomes DBU: C→D, A→B, T→U. To decrypt it, move each letter one place back, returning DBU to CAT. Real encryption is much stronger than this example.

Scrambled is not automatically safe

It is tempting to think any strange-looking text is protected. A simple pattern, such as moving every letter by one, can be guessed quickly by trying possibilities. Security depends on a strong method, a well-kept key and careful use; hiding text with random symbols alone is not enough.

Encryption in daily life

Secure websites use encryption when you sign in or send payment details, so the connection is harder for outsiders to read. Messaging apps can encrypt chats between devices. Encryption does not decide whether a message is true or kind; it mainly protects who can see its contents.

Keep exploring

Other languages

Loading MyLeoNes™…