Identificador Descentralizado (DID)

Um identificador digital global e criptográfico, criado e controlado totalmente pelo usuário, sem depender de corporações centrais.

Junto com Credenciais Verificáveis (VCs), os DIDs permitem provar informações de forma privada (ex: provar que tem mais de 18 anos sem mostrar a data de nascimento ou o documento real).

        graph LR
  Center["Identificador Descentralizado (DID)"]:::main
  Pre_cryptography["cryptography"]:::pre --> Center
  click Pre_cryptography "/terms/cryptography"
  Pre_public_key["public-key"]:::pre --> Center
  click Pre_public_key "/terms/public-key"
  Rel_verifiable_credentials["verifiable-credentials"]:::related -.-> Center
  click Rel_verifiable_credentials "/terms/verifiable-credentials"
  Rel_soulbound_token_sbt["soulbound-token-sbt"]:::related -.-> Center
  click Rel_soulbound_token_sbt "/terms/soulbound-token-sbt"
  Rel_non_fungible_token_nft["non-fungible-token-nft"]:::related -.-> Center
  click Rel_non_fungible_token_nft "/terms/non-fungible-token-nft"
  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;

      

🧒 Explique como se eu tivesse 5 anos

Um login tradicional é como alugar um apartamento: a empresa dona do prédio pode te expulsar a qualquer momento. Um DID é como ter sua própria casa. Você tem a única chave e nenhuma empresa pode confiscar sua identidade.

🤓 Expert Deep Dive

O padrão W3C define a URI como did::. A resolução do DID retorna um DID Document, contendo 'Verification Methods' (chaves públicas) e 'Service Endpoints'. DIDs são agnósticos quanto à rede subjacente; não exigem blockchain, podendo usar redes P2P ou até servidores HTTP padrão (did:web).

❓ Perguntas frequentes

Why can't I just use 'Log in with Google'?

When you use centralized logins, that company tracks everywhere you go online, and they can revoke your access at any time. A DID gives you a login that you cryptographically own and control forever.

Does a DID have to be stored on a blockchain?

No. While many DID methods use blockchains to prevent censorship, the W3C standard is method-agnostic. You can use 'did:web' to host a DID on a standard web server.

What is inside a DID Document?

It's a small text file (JSON) that contains the public cryptographic keys associated with the DID, allowing anyone to verify digital signatures made by the owner.

🔗 Termos relacionados

Pré-requisitos:

📚 Fontes