Intro to Computer Science / Unit 10: Cybersecurity and Impacts of Computing
10.1 Passwords and Authentication
Notes
Authentication proves who you are. Passwords are the most common method, but weak ones are easy to guess.
- Strong passwords are long (12 or more characters), unique for each account, and not based on personal facts.
- Attackers use brute force (trying every combination) and dictionary attacks (trying common words and passwords like
password123). - Each extra character multiplies the number of possible passwords. A 4-digit PIN has 10 x 10 x 10 x 10 = 10,000 possibilities.
- Two-factor authentication (2FA) adds a second proof, such as a code sent to your phone, so a stolen password alone is not enough.
- A password manager can create and store unique passwords.
Practice
Which password is the strongest?
It is long, uses unrelated words and is not based on personal details. Length makes guessing much harder.
How many possible 3-digit PIN codes (000 to 999) are there?
10 x 10 x 10 = 1,000.
Why is it risky to use one password for many accounts?
Reused passwords let one leak unlock many accounts.
Ready for more? Take the Unit 10 test.