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

NAME

8       uuid - UUID generation and comparison
9

SYNOPSIS

11       package require Tcl  8.2
12
13       package require uuid  ?1.0.1?
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         SF         Trackers         [http://source
51       forge.net/tracker/?group_id=12883].  Please also report any  ideas  for
52       enhancements you may have for either package and/or documentation.
53

KEYWORDS

55       GUID, UUID
56
58       Copyright (c) 2004, Pat Thoyts <patthoyts@users.sourceforge.net>
59
60
61
62
63uuid                                 1.0.1                             uuid(n)
Impressum