Module uuLua
A module for creating UUIDs in lua
Info:
- License: Unlicense
- Author: DarkWiiPlayer (Dennis Fischer)
v41 () |
Generates a version 4 variant 1 UUID. |
v42 () |
Generates a version 4 variant 2 UUID. |
random () |
Just an alias for v41 with a more user friendly name |
null |
The NIL UUID 00000000-0000-0000-0000-000000000000 |
tohex (num) |
Converts a number between 0 and 15 to a hex digit |
-
v41 ()
-
Generates a version 4 variant 1 UUID.
-
v42 ()
-
Generates a version 4 variant 2 UUID.
Same as v41 but with one less bit.
-
random ()
-
Just an alias for v41 with a more user friendly name
-
null
-
The NIL UUID 00000000-0000-0000-0000-000000000000
-
tohex (num)
-
Converts a number between 0 and 15 to a hex digit
Parameters:
- num
A number between 0 and 15