randomness source
Each character of the token body is drawn using the browser's Web Crypto API (crypto.getRandomValues), a cryptographically secure pseudo-random number generator seeded from OS entropy. This differs from Math.random(), which is not designed to resist prediction and should never be used for anything security-sensitive.