Audio (343) Datatype (51) Demo (203) Development (593) Document (22) Driver (97) Emulation (146) Game (994) Graphics (494) Library (113) Network (230) Office (65) Utility (913) Video (69)
Total files: 4333
Full index file Recent index file
Amigans.net OpenAmiga Aminet IntuitionBase
|
This library generates Universally Unique IDs (UUIDs/GUIDs)
as per RFC4122.
Version 1 UUIDs are pretty much guaranteed to be unique as
they are tied to the time and place of creation.
Version 4 UUIDs have a very high probability of being unique,
and do not leak identifiable information.
Version 5 UUIDs are generated for a name in a namespace and
that name and namespace combination will be the same every
time it is generated. A v5 UUID has a very high probability
of being unique within a namespace.
Unlike utility.library's GetUniqueID() function, IDs
generated by uuid.library will be unique across reboots.
However they are not 32-bit values so do not fit the same
use case.
A command line tool is provided to generate UUIDs.
It generates v1 UUIDs by default.
Examples:
Generate a v4 UUID:
1.> uuid ver 4
b1acd74e-7af4-4a6b-afcc-676466aa1231
Generate a v5 UUID using the previous v4 UUID as a namespace:
1.> uuid ver 5 b1acd74e-7af4-4a6b-afcc-676466aa1231 uuid.library
d0fa129a-258c-505f-b561-3a36b3c21842
INSTALLATION
Copy C to C:, Libs to Libs:, and
SDK into the SDK if you have it installed.
|