This package provides a UUID type, and functions for generating, encoding, decoding and formatting UUIDs. Currently these versions are supported:
Version 4 UUIDs have either 121 or 122 bits randomly allocated (depending on variant). I am not an expert in entropy or elm/random, but I suspect the Random.Generator does not provide the necessary entropy to fully utilise all those bits of randomness. Still, I suspect it is sufficient for most use cases.