Decentralized Identifiers (DID)
Decentralized Identifiers (DIDs) are a new type of identifier that enables verifiable, decentralized digital identity, allowing you to prove who you are without a central authority.
Core Components: 1. DID Scheme. 2. DID Method. 3. DID Document. 4. Resolver. 5. Verifiable Credentials. Standards: W3C Decentralized Identifiers (DID) 1.0.
graph LR
Center["Decentralized Identifiers (DID)"]:::main
classDef main fill:#7c3aed,stroke:#8b5cf6,stroke-width:2px,color:white,font-weight:bold,rx:5,ry:5;
classDef pre fill:#0f172a,stroke:#3b82f6,color:#94a3b8,rx:5,ry:5;
classDef child fill:#0f172a,stroke:#10b981,color:#94a3b8,rx:5,ry:5;
classDef related fill:#0f172a,stroke:#8b5cf6,stroke-dasharray: 5 5,color:#94a3b8,rx:5,ry:5;
linkStyle default stroke:#4b5563,stroke-width:2px;
🧒 Explain Like I'm 5
Imagine if instead of a passport from a government, you had a magic key you made yourself that everyone in the world agreed was real. You don't need a king or a bank to tell people who you are; your secret key proves it's you. A DID is that magic key for the internet.
🤓 Expert Deep Dive
Technically, a DID is a 'Uniform Resource Identifier' (URI) with three parts: the scheme (did), the method (e.g., 'ion' or 'ethr'), and the method-specific identifier. When a DID is 'Resolved', it returns a 'DID Document' (usually in JSON-LD format) which contains the public keys and 'Service Endpoints' used to interact with the owner. DIDs are the foundation for 'Verifiable Credentials' (VCs), allowing organizations to issue digital 'Badges' (like a driver's license or a university degree) that a user can present to others. The beauty of this system is 'Selective Disclosure'—using Zero-Knowledge Proofs, you can prove you are 'Over 18' without actually revealing your birth date or name.