1uuid(n)                              uuid                              uuid(n)
2
3
4
5______________________________________________________________________________
6

NAME

8       uuid - UUID generation and comparison
9

SYNOPSIS

11       package require Tcl  8.5
12
13       package require uuid  ?1.0.6?
14
15       ::uuid::uuid generate
16
17       ::uuid::uuid equal id1 id2
18
19______________________________________________________________________________
20

DESCRIPTION

22       This  package  provides  a  generator of universally unique identifiers
23       (UUID) also known as globally unique identifiers (GUID). This implemen‐
24       tation  follows the draft specification from (1) although this is actu‐
25       ally an expired draft document.
26

COMMANDS

28       ::uuid::uuid generate
29              Creates a type 4 uuid by MD5 hashing a number of bits of variant
30              data including the time and hostname.  Returns the string repre‐
31              sentation of the new uuid.
32
33       ::uuid::uuid equal id1 id2
34              Compares two uuids and returns true if both  arguments  are  the
35              same uuid.
36

EXAMPLES

38              % uuid::uuid generate
39              b12dc22c-5c36-41d2-57da-e29d0ef5839c
40
41

REFERENCES

43       [1]    Paul    J.    Leach,   "UUIDs   and   GUIDs",   February   1998.
44              (http://www.opengroup.org/dce/info/draft-leach-uuids-
45              guids-01.txt)
46

BUGS, IDEAS, FEEDBACK

48       This  document,  and the package it describes, will undoubtedly contain
49       bugs and other problems.  Please report such in the  category  uuid  of
50       the  Tcllib  Trackers  [http://core.tcl.tk/tcllib/reportlist].   Please
51       also report any ideas for enhancements you may have for either  package
52       and/or documentation.
53
54       When proposing code changes, please provide unified diffs, i.e the out‐
55       put of diff -u.
56
57       Note further that  attachments  are  strongly  preferred  over  inlined
58       patches.  Attachments  can  be  made  by  going to the Edit form of the
59       ticket immediately after its creation, and  then  using  the  left-most
60       button in the secondary navigation bar.
61

KEYWORDS

63       GUID, UUID
64

CATEGORY

66       Hashes, checksums, and encryption
67
69       Copyright (c) 2004, Pat Thoyts <patthoyts@users.sourceforge.net>
70
71
72
73
74tcllib                               1.0.6                             uuid(n)
Impressum