Very straightforward instructions, all instructions in project. Please make sure you are logged in for best results. Generates a Version 4, Variant 2 UUID.
IMPORTANT NOTICE: The UUIDs generated by this project are provided without warranty of any kind, not even the warranty that the generated UUIDs are actually unique, as in extreme extreme EXTREME circumstances UUIDs can actually not be unique and collide. However, the chance is way less than 1 in a billion, trillion, or quadrillion. You are responsible for using the UUIDs and assume any risk inherent to using them. Thank-yous: Wikipedia for telling me how a UUID works. @griffpatch for "_CHARS" variable. What is a UUID? UUID stands for Universally unique identifier. UUIDs are used everywhere in computing, from session IDs to Minecraft mods. The whole purpose of a UUID is as the name suggests, to be Universally Unique. A UUID consists of 32 hexadecimal(0-9, a-f) digits, separated into 5 segments, separated with dashes, in the segment lengths 8-4-4-4-12. UUIDs are 128 bits. There are some specific rules though. A UUID has 2 special characters - character 13 and 17 (xxxxxxxx-xxxx-Mxxx-Nxxx-xxxxxxxxxxxx) are different. Character 13(M) is the version, in this project it is 4 like most UUIDs, and Character 17(N) is the variant, Most UUIDs are Variant 2, Where character 17 is 8, 9, a, or b. [Source: Wikipedia] How does this project work? The generated UUIDs follow this scheme: aaaaaaaa-aaaa-Mbbb-Nbbb-cccccccccccc Each letter is generated a different way. M: M is the UUID Version, in this project it is always 4. N: N is the UUID Variant, in this project it is a random number from (8, 9, a, b) a: You might have noticed that the a digits never change. That is because it is based off your username (That's why I said to log in). b: B digits are simply random. c: C digits use a timestamp from the Days since 2000 block. That way, with a digits embedding the user, c digits embedding the time, it can be UNIQUE. That's the whole point.