seal static method

void seal()

One-way latch: after seal, setupPRNG, setupRandom and setupBackendRng throw. Call once during app startup to prevent any later code from swapping the random source (e.g. with a deterministic generator that makes keys predictable). Tests never seal.

Implementation

static void seal() => _sealed = true;