Uses crypto.randomUUID() for entropy. Since UUIDs are hex (0-9, A-F),
this produces tokens with that character set, which is a valid subset
of what the backend accepts (A-Z, 0-9).
For testing purposes, having tokens with just hex characters is fine
and much simpler than trying to expand to the full A-Z range.
Generate a mock public token for testing.
Uses crypto.randomUUID() for entropy. Since UUIDs are hex (0-9, A-F), this produces tokens with that character set, which is a valid subset of what the backend accepts (A-Z, 0-9).
For testing purposes, having tokens with just hex characters is fine and much simpler than trying to expand to the full A-Z range.