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

KEYWORDS

48       GUID, UUID
49
51       Copyright (c) 2004, Pat Thoyts <patthoyts@users.sourceforge.net>
52
53
54
55
56uuid                                 1.0.1                             uuid(n)
Impressum