From 8aeabe467fb6ececd53e278f3416f14531ba6b8f Mon Sep 17 00:00:00 2001 From: Elias Batek Date: Sat, 25 Jan 2025 22:16:03 +0100 Subject: [PATCH] Update documentation --- std/random.d | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/std/random.d b/std/random.d index c1ea545ab40..2a0fb457552 100644 --- a/std/random.d +++ b/std/random.d @@ -1838,8 +1838,8 @@ random number sequences every run. This function utilizes the system $(I cryptographically-secure pseudo-random number generator (CSPRNG)) or $(I pseudo-random number generator (PRNG)) where available and implemented (currently `arc4random` on applicable BSD -systems or `getrandom` on Linux) to generate “high quality” pseudo-random -numbers – if possible. +systems, `getrandom` on Linux or `BCryptGenRandom` on Windows) to generate +“high quality” pseudo-random numbers – if possible. As a consequence, calling it may block under certain circumstances (typically during early boot when the system's entropy pool has not yet been initialized).