CyberKit

Cryptographically Secure PRNG

Also called CSPRNG, Secure Random.

A random generator suitable for keys, nonces, and tokens.

What it is

A pseudo-random number generator whose output is unpredictable even to an attacker who sees prior outputs, seeded from a high-entropy source. It is the only acceptable randomness source for cryptographic material.

Why it matters

Keys, IVs, salts, and session tokens are only as strong as the randomness behind them: a predictable or weakly seeded generator has broken real systems by making keys guessable. Auditing for non-cryptographic random use is a standard review step.

In practice

Generating session tokens from a CSPRNG rather than a fast but predictable general-purpose random function.

What to look for

  • Tokens or keys generated with Math.random, rand or time seeds.
  • Session IDs that look sequential or predictable.
  • Containers or VMs cloned with the same random state.

Common mistake

Using a normal random function for secrets. It can be predicted; use the OS cryptographic generator.

Practice it nearby

CyberKit has no tool for this term itself. These are the closest places to practice it.

In the field

Well-known tools where this shows up on the job. They are listed to show the landscape, not as a recommendation.

  • OpenSSL Open source

    The command line toolkit for inspecting certificates, keys and TLS connections.

  • HashiCorp Vault Source available

    Manages secrets and encryption keys, and can encrypt data as a service.

  • AWS Key Management Service Cloud service

    AWS's managed service for creating and controlling encryption keys.

Read next

Sources