Randomness source
Each character is drawn independently and uniformly from the selected character set using the browser's cryptographically secure random number generator, not a predictable pseudo-random function. This matters because a guessable sequence would defeat the purpose of a secret: anyone able to predict the generator's output could narrow down or reconstruct keys produced by it.