๐ŸŽฒ Passwords & Randomness guides

How to create strong passwords and make fair random choices, explained without jargon.

Padlock resting on a laptop keyboard
Photo: โ€œFree cyber security concept backgroundโ€ by rawpixel.com ยท CC0 1.0 ยท via Openverse (rawpixel)

Randomness you can trust

Two everyday tasks depend on good randomness: creating passwords that are hard to guess, and making choices that everyone agrees are fair, such as drawing a giveaway winner or deciding who goes first. In both cases the quality of the random source matters. Browsers include a cryptographically secure random generator, and our generators use it so that results cannot be predicted from earlier ones.

What you will learn here

Fairness and the law

If you run a competition with real prizes, local rules may apply, including rules set by the platform you use. Our guides explain good practice, but they are not legal advice. Check the rules for your country and platform before you launch.