v5 static method

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

Generates a version 5 (name-based, SHA-1) UUID - the same idea as v3 but with SHA-1, which RFC 4122/9562 recommends over v3 for new uses.

Implementation

static String v5(String namespace, String name) {
  return _nameBased(namespace, name, 5, QuickCrypto.sha1Hash);
}