uuidv7: generate UUID v7 strings, command line edition
https://github.com/coolaj86/uuidv7| Installer Source| Releases (json) (tab)
uuidv7: generate UUID v7 strings, command line edition
https://github.com/coolaj86/uuidv7| Installer Source| Releases (json) (tab)
To update or switch versions, run webi uuidv7@stable
.
uuidv7
exists because somebody was tired of searching "UUID v7 generator" just to get a test value for a little ditty now and then. Though, the time spent creating it will probably never be recouped...
uuidv7
01928d73-d8ed-7211-a314-7081d763271d
UUIDv7
sThese are the files / directories that are created and/or modified with this install:
~/.config/envman/PATH.env
~/.local/bin/uuidv7
~/.local/opt/uuidv7/
uuidv7 ; uuidv7 ; uuidv7
01928d74-3ff7-796f-8417-0fee6da50a5a
01928d74-3ff9-73f7-8ce1-71e741cfa56f
01928d74-3ffb-7e06-abe9-3fe20e5cb5f2
It's not that hard. There are examples in many languages here:
See the simplified spec examples below.
See the explanation here:
A snapshot of that is copied here, for convenience:
There are 36 characters total: 32 hex (0123456789abcdef
) + 4 dashes (-
)
8 time 4 time 1v + 3ra ½v + 3½rb 12 random b
019212d3 - 87f4 - 7d25 - 902e - b8d39fe07f08
-
-
7
-
8
, 9
, a
, b
-
There are 128 bits total:
48 time and 80 random, with 4 version and 2 variant bits substituted
48 time 4ver, 12ra 2var, 14rb random b
019212d3-87f4 - 7d25 - 902e - b8d39fe07f08
0b0111
)0b10
)