>>> On Tuesday, 27. November 2007 at 3:27 pm, Jeff Johnson wrote:
> Anyone have a pointer to a "standard" UUID transform for strings?
> 
You need a version 3 (named based) UUID

Example from OSSP uuid(3) man page
# generate DCE 1.1 v3 UUID (name based)
$ uuid -v3 ns:URL http://www.ossp.org/ 
02d9e6d5-9467-382e-8f9b-9300a64ac3cd

The OSSP uuid [1] library was written by Ralf S. Engelschall. It is
highly portable and offers a lot of bindings to various programming
languages. Ralf is a Co-Author of RFC4122 [2] "A Universally Unique
IDentifier (UUID) URN Namespace". You can consider OSSP uuid being the
de-facto reference implementation of a UUID generator, encoder and
decoder. Please note previous RFC drafts attempting to publish ISO/IEC
11578:1996 had bugs in their embedded reference implementation, which
was one of the reasons for creating OSSP uuid.

[1] http://www.ossp.org/pkg/lib/uuid/
[2] http://www.ietf.org/rfc/rfc4122.txt

-- 
http://thomas.lotterer.net
______________________________________________________________________
RPM Package Manager                                    http://rpm5.org
Developer Communication List                        [email protected]

Reply via email to