HORIZON HASKELLDocslts/ghc-9.14.x3e2d5682026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 9.14.1 · lts/ghc-9.14.x · 3e2d568 · 2026-10-11

Moduleuuid-1.3.16.1Haskell2010

Data.UUID.V5

This module implements Version 5 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.

  • 5 values
  • Packageuuid-1.3.16.1
  • Exports5
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceV5.hs
valuegenerateNamed
  1. :: UUID

    Namespace

  2. -> [Word8]

    Object

  3. -> UUID
#

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

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