Generate random UUID v4 values or shorter NanoIDs in bulk, using your browser's secure random source.
UUID v4 values are 122 random bits in the standard 36-character form, produced by `crypto.randomUUID()`. NanoIDs are shorter, URL-safe, and use a configurable length.
Both draw from the platform's cryptographically secure random generator, so they are safe for identifiers that must be unguessable.
How long until two UUID v4 values collide? In practice, never at application scale. You would need to generate billions per second for decades before collision probability became meaningful.