Return an RFC 4122 version 5 GUID derived from a namespace and name.
Declared in <bdlb_guidutil.h>
static
Guid
generateFromName(
Guid const& namespaceId,
std::string_view const& name);
Generate and return a single GUID meeting the RFC 4122 version 5 specification from the specified namespaceId and name. namespaceId may (but need not) be one of the pre-defined namespace IDs. Note that this method is a pure function of its arguments.
an RFC 4122 version 5 GUID derived from namespaceId and name
| Name | Description |
|---|---|
| namespaceId | namespace UUID for name-based generation |
| name | name from which the GUID is derived |