Overview
CTR-DRBG keeps a block-cipher key and counter-like value as internal state. It encrypts successive values to emit pseudorandom blocks and updates the state between requests.
Generates deterministic random bits with a block-cipher counter construction.
Compact metadata for implementation and discovery.
CTR-DRBG keeps a block-cipher key and counter-like value as internal state. It encrypts successive values to emit pseudorandom blocks and updates the state between requests.
Quick facts
Runtime and memory behavior at a glance.
Best
O(V + E)
Average
O((V + E) log V)
Worst
O(V^2 + E)
Space
O(V + E)
Show encrypting counter blocks and updating internal key state on a small cryptographic random generation example.
CTR-DRBG correctness depends on state update and reseed rules, not only on block-cipher strength.
What each reference supports for this entry.
NIST reference for CTR-DRBG block-cipher state updates, generation, and reseeding.
Open sourceGood next jumps from the relationship graph, ranked for useful discovery.
Cryptography · Core
CTR-DRBG and HMAC-DRBG are standardized DRBG constructions with different core primitives.
Compare with this