CreateUUID
CreateUUID []
creates a random, universally unique UUID string.
CreateUUID ["base"]
appends a UUID string to the specified base string.
Details
- CreateUUID [] gives a UUID based on a 128-bit number, formatted as 32 hexadecimal digits grouped in the format 8-4-4-4-12.
- CreateUUID [] is intended to produce a globally unique string that will statistically never be repeated.
- CreateUUID [] makes use of detailed local system and session information, as well as absolute time.
- CreateUUID [] is intended to generate a random distribution of UUIDs.
- Some Wolfram System features depend on assuming the UUIDs will not collide.
Examples
open allclose allBasic Examples (1)
Create a random UUID:
Include a custom string:
Properties & Relations (1)
Convert a UUID to a 128-bit integer:
Related Guides
History
Text
Wolfram Research (2014), CreateUUID, Wolfram Language function, https://reference.wolfram.com/language/ref/CreateUUID.html.
CMS
Wolfram Language. 2014. "CreateUUID." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/CreateUUID.html.
APA
Wolfram Language. (2014). CreateUUID. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/CreateUUID.html
BibTeX
@misc{reference.wolfram_2025_createuuid, author="Wolfram Research", title="{CreateUUID}", year="2014", howpublished="\url{https://reference.wolfram.com/language/ref/CreateUUID.html}", note=[Accessed: 15-April-2025 ]}
BibLaTeX
@online{reference.wolfram_2025_createuuid, organization={Wolfram Research}, title={CreateUUID}, year={2014}, url={https://reference.wolfram.com/language/ref/CreateUUID.html}, note=[Accessed: 15-April-2025 ]}