When you need cryptographically secure randomness
Passwords, API keys and session tokens must come from a cryptographically secure random number generator (CSPRNG), not Math.random(). Our password generator uses the browser's crypto API for unpredictable output.
UUIDs identify database records and distributed systems. Version 4 UUIDs are random. Use them when you need unique IDs without a central allocator. Random strings are also handy for test fixtures and placeholder data in development.