2-- Module : Data.UUID.V3
3-- Copyright : (c) 2010 Antoine Latter
7-- Maintainer : aslatter@gmail.com
8-- Stability : experimental
9-- Portability : portable
12-- This module implements Version 3 UUIDs as specified
15-- These UUIDs identify an object within a namespace,
16-- and are deterministic.
18-- The namespace is identified by a UUID. Several sample
19-- namespaces are enclosed.
31import Data.UUID.Internal
32import qualified Data.UUID.Named as Shared
33import qualified Crypto.Hash.MD5 as MD5
36-- |Generate a 'UUID' within the specified namespace out of the given
39-- Uses an MD5 hash. The UUID is built from first 128 bits of the hash of
40-- the namespace UUID and the name (as a series of Word8).
41generateNamed :: UUID -- ^Namespace
44generateNamed = Shared.generateNamed MD5.hash 3
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list