uuid-1.2.0: For creating, comparing, parsing and printing Universally Unique IdentifiersSource codeContentsIndex
Data.UUID.V3
Portabilityportable
Stabilityexperimental
Maintaineraslatter@gmail.com
Description

This module implements Version 3 UUIDs as specified in RFC 4122.

These UUIDs identify an object within a namespace, and are deterministic.

The namespace is identified by a UUID. Several sample namespaces are enclosed.

Synopsis
generateNamed :: UUID -> [Word8] -> UUID
namespaceDNS :: UUID
namespaceURL :: UUID
namespaceOID :: UUID
namespaceX500 :: UUID
Documentation
generateNamedSource
:: UUIDNamespace
-> [Word8]Object
-> UUID

Generate a UUID within the specified namespace out of the given object.

Uses an MD5 hash. The UUID is built from first 128 bits of the hash of the namespace UUID and the name (as a series of Word8).

namespaceDNS :: UUIDSource
The namespace for DNS addresses
namespaceURL :: UUIDSource
The namespace for URLs
namespaceOID :: UUIDSource
The namespace for ISO OIDs
namespaceX500 :: UUIDSource
The namespace for X.500 DNs
Produced by Haddock version 2.6.0