What are csprngs?

A csprng is like a super smart robot that makes up numbers so well, you can't tell if they're real or fake.

Imagine you have a toy box full of numbered balls, each one has a different number on it. If you shake the box and pick one at random, it's kind of like getting a random number. Now, imagine instead of shaking a box, there’s a robot that uses special tricks to come up with numbers so randomly, even grown-ups can't tell they're not real.

How csprngs work

A csprng is short for cryptographically secure pseudorandom number generator. It's like the robot in our example, it follows rules to make its numbers, but those rules are so clever and tricky that they look completely random to anyone trying to guess them.

These robots are used by computers when they need to keep secrets safe, like when you log into your favorite app or game. They help create secret codes that only the right person can break. And because they're so good at making fake numbers, even the smartest hackers have a hard time figuring out what's real and what’s not!

Take the quiz →

Examples

  1. A CSPRNG is like a magic coin that never lands the same way twice, even if you flip it millions of times.

Ask a question

See also

Discussion

Recent activity