name Based Uuid Of
Constructs a "Name-Based" version 3 or 5 UUID.
Version 3 and 5 UUIDs are created by combining a name and a namespace using a hash function. This library may provide such hash functions in the future, but it adds a significant maintenance burden to support for native, JS, and JVM. Until then:
Provide a MD5 UuidHasher to get a v3 UUID
Provide a SHA-1 UuidHasher to get a v5 UUID
Return
New version 3 or 5 UUID.
Parameters
namespace
for the "Name-Based" UUID
name
withing the namespace for the "Name-Based" UUID
hasher
interface that implements a hashing algorithm