ballerina/uuid Ballerina library
This module provides APIs to generate and inspect UUIDs (Universally Unique Identifiers).
The UUIDs are generated based on the RFC 4122 standard. This module supports generating 4 versions of UUIDs.
Generated using the MAC address of the computer and the time of generation.
Cryptographic hashing and application-provided text strings are used to generate a UUID. MD5 hashing is used.
Uses a pseudo-random number generator to generate the UUID. Every bit of the string is randomly generated.
Similar to Version 3 but uses SHA-1 instead of MD5.
Other operations include validating a given UUID string and getting the version of a UUID string.
For information on the operations, which you can perform with the
uuid module, see the below Functions.