🔍 What is UUIDv4?
UUIDv4 (Universally Unique Identifier, version 4) is a 128-bit identifier made up of random hexadecimal digits, formatted in the standard 8-4-4-4-12 pattern.
- It is based entirely on random numbers.
- The 13th character is always "4", indicating it is a version 4 UUID.
- The 17th character is randomly chosen from "8", "9", "a", or "b", which sets the variant as per the UUID specification.
- The remaining characters are filled with randomly generated hexadecimal digits.
This format ensures a unique, standards-compliant identifier suitable for use in distributed systems, databases, and anywhere a unique ID is needed.