6 min read
🔒beginner

Passwords & Encryption — Keeping Secrets Safe

Learn how passwords protect your accounts, what encryption is, and why 'password123' is a terrible password.

Why Passwords Matter

Your passwords are the keys to your digital life — they protect your email, social media, games, and personal information. If someone guesses or steals your password, they can pretend to be you, read your messages, and even lock you out of your own accounts. But here is the scary part: many people use terrible passwords. The most common passwords in the world are still things like '123456,' 'password,' and 'qwerty.' These can be cracked by a computer in less than one second.

What Makes a Strong Password?

A strong password has: - At least 12 characters (longer is better) - A mix of uppercase and lowercase letters - Numbers AND special characters - NO dictionary words or personal info (no birthdays, pet names, or favorite teams) Better yet, use a passphrase — a random string of words: - Weak: fluffy123 - Strong: correct-horse-battery-staple - Even stronger: Correct-Horse-Battery-Staple-42! A 4-word passphrase is both easier to remember AND harder to crack than a short complex password.

What is Encryption?

Encryption is the process of scrambling data so only authorized people can read it. When you send a message on WhatsApp, it is encrypted — turned into unreadable gibberish while traveling across the internet, then unscrambled when it reaches the recipient. Simple example of encryption (Caesar cipher): - Original: HELLO - Shift each letter by 3: KHOOR Modern encryption is much more complex and uses mathematical formulas that would take even the fastest computers millions of years to crack. When you see the lock icon in your browser's address bar, it means the connection to that website is encrypted.
Pro Tip

Never reuse passwords across different websites! If one site gets hacked and your password is stolen, hackers will try that same password on every other site. Use a password manager app to generate and store unique passwords for every account. You only need to remember one master password.

Password Strength Test

Try creating three passwords: one that is weak (short, common word), one that is medium (mixed characters but short), and one that is strong (long passphrase with numbers and symbols). Go to howsecureismypassword.net and see how long each would take to crack. The difference will shock you! Then, check if any of your real email addresses have been in data breaches at haveibeenpwned.com (this is a safe, legitimate site run by a security researcher).

Ready to build?

Put what you learned into practice — pick a project and start coding.

Start Building Free