org.bouncycastle.crypto.prng (Bouncy Castle Library 1.85 API Specification)
Date: 2026-07-12

# Package org.bouncycastle.crypto.prng

Lightweight psuedo-random number generators and SecureRandom builders.

See: Description

- Interface Summary
  Interface | Description
  --- | ---
  EntropySource | Base interface describing an entropy source for a DRBG.
  EntropySourceProvider |
  RandomGenerator | Generic interface for objects generating random bytes.

- Class Summary
  Class | Description
  --- | ---
  BasicEntropySourceProvider | An EntropySourceProvider where entropy generation is based on a SecureRandom output using SecureRandom.generateSeed().
  DigestRandomGenerator | Random generation based on the digest with counter.
  EntropyUtil | Utility methods for making use of EntropySources.
  FixedSecureRandom | A secure random that returns pre-seeded data to calls of nextBytes() or generateSeed().
  ReversedWindowGenerator | Takes bytes generated by an underling RandomGenerator and reverses the order in each small window (of configurable size).
  SP800SecureRandom |
  SP800SecureRandomBuilder | Builder class for making SecureRandom objects based on SP 800-90A Deterministic Random Bit Generators (DRBG).
  ThreadedSeedGenerator | A thread based seed generator - one source of randomness.
  VMPCRandomGenerator |
  X931RNG |
  X931SecureRandom |
  X931SecureRandomBuilder |

## Package org.bouncycastle.crypto.prng Description

Lightweight psuedo-random number generators and SecureRandom builders.