uuidv4
UUIDv4 is a version of the Universally Unique Identifier (UUID) standard defined in RFC 4122. It is generated using random numbers to create a globally unique 128-bit identifier.
A UUIDv4 is represented as 32 hexadecimal digits in five groups separated by hyphens: 8-4-4-4-12, for a
Generation is typically via a cryptographically secure random number generator provided by the operating system. Libraries
Use and properties: UUIDv4 is well suited for unique identifiers in distributed systems, databases, and session
Security and limitations: UUIDv4 IDs are not private or secret tokens and do not convey sensitive information.
Alternatives: Other UUID versions exist, such as v1 (time- and MAC-based) and v3/v5 (name-based, deterministic). UUIDv4