View source code
Display the source code in std/uuid.d from which this page was generated on
github.
Improve this page
Quickly fork, edit online, and submit a pull request for this page.
Requires a signed-in GitHub account. This works well for small changes.
If you'd like to make larger changes you may want to consider using
local clone.
Page wiki
View or edit the community-maintained wiki page associated with this page.
Enum std.uuid.UUID.Version
RFC 4122 defines different UUID
versions. The version shows
how a UUID
was generated, e.g. a version 4 UUID
was generated
from a random number, a version 3 UUID
from an MD5 hash of a name.
The enum base type is
.
int
Enum members
Name | Description |
---|---|
dceSecurity
|
Version 2
|
nameBasedMD5
|
Version 3 (Name based + MD5)
|
nameBasedSHA1
|
Version 5 (Name based + SHA-1)
|
randomNumberBased
|
Version 4 (Random)
|
timeBased
|
Version 1
|
unknown
|
Unknown version |
Note
All of these UUID
versions can be read and processed by
, but only version 3, 4 and 5 UUIDs can be generated.
std.uuid
Authors
Johannes Pfau