Generate a random password locally using the browser’s cryptographic random-number generator.
Randomness method
The generator uses crypto.getRandomValues() and rejection sampling so character selection does not rely on Math.random().
Security note
A generated password is only one part of account security. Store passwords in a reputable password manager and enable multi-factor authentication where available.