Lesson 2
Random Passwords
What good randomness means and why crypto APIs matter.
A generated password is only as good as its random source. For real secrets, use cryptographic randomness from the platform, not ordinary pseudo-random helpers intended for UI effects or games.
Good random passwords are useful for:
- Password manager entries
- Temporary admin credentials
- Test users and seed data
- One-time handoff secrets
Do not send generated passwords through chat or email if the account is important. Use a password manager, secret manager, or secure sharing feature.