Best for
Generating database primary keys, distributed transaction trace IDs, test fixtures and mock API records.
Helpful tip
Version 4 UUIDs use 122 bits of cryptographic entropy, making the mathematical probability of a duplicate virtually negligible.
Limitation
A UUID serves solely as an identifier; it does not encrypt data, establish trust or provide authentication authority by itself.