UUID Namespace
UUID v5 OID Namespace
The OID namespace maps ISO object identifiers onto the UUID space — useful when your identifiers already come from a standards tree.
Well-known RFC namespace6ba7b812…Deterministic (SHA-1)
Generated locally with the Web Crypto API — nothing leaves your browser.
What Is UUID v5 OID Namespace?
- The OID namespace is
6ba7b812-9dad-11d1-80b4-00c04fd430c8. Object identifiers form a global tree used by standards bodies, so they are already unique — the namespace just expresses them as UUIDs. - This is the least common of the four namespaces, but it is the correct choice when the source identifier is an ASN.1 OID rather than a name or URL.
How to generate
- Select version v5 and the oid namespace.
- Paste the OID string, e.g.
1.3.6.1.4.1.343. - Generate to obtain the corresponding UUID.
Use Cases
- Bridging standards registries into a UUID-keyed system.
- Telecom and PKI data where OIDs are the native identifier.
- Interop layers that must expose one ID space to two standards.
Code Examples
Python
import uuid
uid = uuid.uuid5(uuid.NAMESPACE_OID, '1.3.6.1.4.1.343')JavaScript
import { v5 as uuidv5 } from 'uuid';
const id = uuidv5('1.3.6.1.4.1.343', '6ba7b812-9dad-11d1-80b4-00c04fd430c8');Frequently Asked Questions
What is an OID?
An Object Identifier is a dotted decimal path in a global registry tree, used across telecom, PKI and standards work.
Why not just store the OID?
OIDs are variable-length strings. A fixed 128-bit key is friendlier to index and to store.