Skip to content

uuid5

uuid5(_namespace: UUID, _name: string): UUID

Defined in: packages/pythonlib/src/uuid.ts:328

Generate a UUID based on the SHA-1 hash of a namespace identifier and a name (version 5).

Parameters

ParameterType
_namespaceUUID
_namestring

Returns

UUID

A new name-based UUID using SHA-1