| 84716 packages online |
|
|
| | | | No screenshot available |
|
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.
|
Contents of util/libs/uuid_lib.lhaPERMISSION UID GID PACKED SIZE RATIO METHOD CRC STAMP NAME
---------- ----------- ------- ------- ------ ---------- ------------ ----------
[unknown] 2379 67944 3.5% -lh6- ea09 Oct 22 18:56 uuid_lib/C/uuid
[unknown] 5755 71125 8.1% -lh6- 81e7 Oct 21 23:10 uuid_lib/libs/uuid.library
[unknown] 1070 3020 35.4% -lh6- 4414 Oct 21 23:29 uuid_lib/SDK/AutoDocs/uuid.library.doc
[unknown] 461 928 49.7% -lh6- 8ebc Oct 15 17:36 uuid_lib/SDK/include/inline4/uuid.h
[unknown] 433 1109 39.0% -lh6- 84f6 Oct 15 17:36 uuid_lib/SDK/include/interfaces/uuid.h
[unknown] 225 463 48.6% -lh6- 9b83 Oct 15 17:36 uuid_lib/SDK/include/interfaces/uuid.i
[unknown] 249 481 51.8% -lh6- bb64 Oct 15 17:37 uuid_lib/SDK/include/libraries/uuid.h
[unknown] 482 1484 32.5% -lh6- 5dd1 Oct 7 17:32 uuid_lib/SDK/include/proto/uuid.h
[unknown] 717 1424 50.4% -lh6- d76f Oct 22 18:53 uuid_lib/uuid_lib.readme
---------- ----------- ------- ------- ------ ---------- ------------ ----------
Total 9 files 11771 147978 8.0% Oct 22 20:45
|
|
|
|
Aminet © 1992-2024 Urban
Müller and
the Aminet team.
Aminet contact address: <aminetaminet net> |