Skip to contentSkip to conversation

Generating identifiers similar to UUIDs but without dashes

DISCUSSION Markus Elfring 1 participant 1 message Jan 14, 2019

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hello,

The file “/proc/sys/kernel/random/uuid” provides a bit of useful data. The formal definition of the string representation for universally unique identifiers requires the use of four dashes for the concatenation of fields.
https://tools.ietf.org/html/rfc4122#page-4
https://stackoverflow.com/questions/24481801/is-uuid-without-dashes-hyphens-valid#answer-24484051

Now I am looking again for possibilities to generate reasonably unique identifiers also without these dashes.
Can any data processing benefit from the avoidance of such extra characters?

Regards,
Markus