v3 static method

String v3(
  1. String namespace,
  2. String name
)

Generates a version 3 (name-based, MD5) UUID: deterministic for a given (namespace, name) pair - the same inputs always produce the same UUID. namespace is itself a UUID string; use one of namespaceDns/namespaceUrl/namespaceOid/namespaceX500, or any UUID string of your own for a custom namespace.

Prefer v5 for new uses - MD5 is only kept here for compatibility with existing v3-based identifiers, per RFC 4122/9562.

Implementation

static String v3(String namespace, String name) {
  return _nameBased(namespace, name, 3, QuickCrypto.md5Hash);
}