Skip to main content

W3C Decentralized Identifiers (DID) Explained

Explore Decentralized Identifiers (DIDs), a new standard for verifiable, self-sovereign identity. Learn about the W3C DID specification, its benefits, and how Didit leverages DIDs for secure and privacy-preserving identity.

W3C Decentralized Identifiers (DID) Explained

Contents

In this guide

Jump to the part you need.

W3C Decentralized Identifiers (DID) Explained

The internet is evolving towards a more decentralized future, and identity is at the forefront of this shift. Traditional identity systems rely on centralized authorities, creating vulnerabilities and limiting user control. Decentralized Identifiers (DIDs), a new standard developed by the World Wide Web Consortium (W3C), offer a compelling alternative. This post dives deep into the W3C DID specification, its architecture, benefits, and how platforms like Didit are leveraging them to build the next generation of identity solutions.

Key Takeaway 1: Self-Sovereign Identity (SSI) DIDs are the foundational building block for Self-Sovereign Identity, empowering users to control their own digital identities without relying on central intermediaries.

Key Takeaway 2: Verifiable Credentials DIDs enable the issuance and verification of verifiable credentials, allowing individuals and organizations to share trusted data securely.

Key Takeaway 3: Interoperability The W3C DID specification promotes interoperability between different identity systems, fostering a more open and connected digital world.

Key Takeaway 4: Privacy-Preserving Identity DIDs minimize the amount of personal information shared, enhancing user privacy and reducing the risk of data breaches.

What are Decentralized Identifiers (DIDs)?

A Decentralized Identifier (DID) is a globally unique identifier that doesn’t rely on a centralized registry. Unlike traditional identifiers like email addresses or usernames, DIDs are controlled by the entity they represent – the user or organization. They are designed to be persistent, resolvable, and verifiable. A DID is typically a URI (Uniform Resource Identifier) that begins with did:, followed by a method-specific identifier and a hash. For example: did:key:z6Mk8Gf6VqY9LqWmxvQWc9x7yK8kH74Fq3G16w42B6Q.

DIDs are based on public key cryptography. The DID document, associated with the DID, contains the public key(s) used to verify the authenticity of claims made by the DID controller. This allows anyone to verify that a particular statement was indeed made by the owner of the DID.

The W3C DID Specification: A Deep Dive

The W3C DID specification defines the core standards for creating, resolving, and using DIDs. It outlines several key components:

  • DID Methods: Define how DIDs are created, resolved, and updated. Examples include did:key (using cryptographic keys), did:web (using a website), and did:sov (using the Sovrin ledger).
  • DID Document: A JSON-LD document associated with a DID, containing public keys, service endpoints, and other metadata.
  • DID Resolution: The process of retrieving the DID document associated with a given DID.
  • DID Syntax: The standardized format for DIDs, ensuring interoperability.

The specification emphasizes decentralization, interoperability, and security. It allows for a variety of DID methods, enabling different levels of trust and control. The choice of DID method depends on the specific use case and the desired level of decentralization. For example, did:key provides the highest level of control but requires the user to manage their private key securely. did:web is simpler to implement but relies on the availability of a website.

Benefits of Using DIDs

Implementing DIDs offers several significant advantages:

  • Enhanced Security: Eliminates single points of failure and reduces the risk of data breaches.
  • Increased Privacy: Users control their own data and can selectively disclose information.
  • Improved Interoperability: Enables seamless identity exchange between different systems.
  • Reduced Reliance on Central Authorities: Empowers users and reduces the power of intermediaries.
  • Portability: DIDs are globally unique and persistent, allowing users to take their identity with them.

How Didit Leverages DIDs

Didit is integrating DIDs into its identity platform to provide a more secure and privacy-preserving identity experience. We are building support for multiple DID methods, allowing users to choose the method that best suits their needs. Here's how we're leveraging DIDs:

  • Reusable KYC: Users can verify their identity once using a DID and reuse it across multiple applications, reducing friction and improving conversion rates.
  • Verifiable Credentials: We enable the issuance and verification of verifiable credentials, such as proof of age or proof of address, using DIDs.
  • Decentralized Authentication: DIDs can be used for passwordless authentication, providing a more secure and user-friendly login experience.
  • Data Minimization: By using DIDs, we can minimize the amount of personal information shared with third parties.

Our implementation uses a combination of did:key and did:web methods, offering flexibility and control. We are also exploring support for other DID methods, such as did:sov, to further enhance our platform’s capabilities.

Ready to Get Started?

Decentralized Identifiers (DIDs) are transforming the way we think about identity. By embracing this new standard, we can build a more secure, private, and user-centric digital world. Didit is committed to leading the way in this revolution.

Explore the Didit platform and see how DIDs can benefit your business: https://didit.me

Check out our developer documentation to learn more about integrating DIDs with your applications: https://docs.didit.me

Try it

Try this in the sandbox

Run the check this guide describes, free.

ID Verification

The product this post is about, taken from its topic. Run it free in the sandbox.

$0.15 per checkStart free

Author

Alberto Rosas

Co-founder and CEO

Alberto Rosas

Alberto Rosas

Co-founder and CEO

About Didit

Questions

FAQ

What is the difference between a DID and a username?

A username is typically associated with a specific platform and controlled by that platform. A DID is globally unique, controlled by the user, and not tied to any single platform. This means a user can use the same DID across multiple applications and services.

What are DID methods?

DID methods define the specific rules and processes for creating, resolving, and updating DIDs. Different methods offer different levels of decentralization, security, and complexity. Choosing the right method depends on your specific use case.

How does the W3C DID specification ensure interoperability?

The W3C DID specification defines a standardized format for DIDs and a common set of protocols for resolving and verifying them. This ensures that different identity systems can interoperate seamlessly, regardless of the underlying technology.

What is a DID document?

A DID document is a JSON-LD document associated with a DID that contains essential information about the DID, including public keys, service endpoints, and other metadata. It’s used to verify claims made by the DID controller and to discover how to interact with the DID.

Compliance built in

Audited, certified and attested.

We hold the certifications and build each country's rules into your flows, so you can launch anywhere without worrying. Security and Compliance center

  • Regulation encoded into your flows

    Tell us what you do and where. Didit lists the rules that apply to you, with sources, and builds the checks each country needs into one workflow.

  • Ready for AMLR

    Every requirement of the new EU anti-money laundering rules, from checking customers to human review, is already covered by a Didit check.

  • Tested in Spain's Treasury sandbox

    Spain's Treasury published its supervised sandbox report on Didit's NFC plus active liveness onboarding; SEPBLAC took part and valued the added measures positively.

  • Audited, not self-declared

    iBeta Level 1 and Level 2. Liveness tested under ISO/IEC 30107-3.

Compliance assistant

Your obligations · 3 regions

EU · AMLRCustomer due diligence, human reviewCovered
Illinois, Texas, ColoradoExplicit biometric consentCovered
Germany · Youth protectionVerified adults only (JMStV)Covered
Workflow checked. Every obligation is met
  • SOC 2 Type 2
  • ISO 27001
  • iBeta Level 1 and Level 2
  • EU regulator attestation
  • FSM youth protection
  • GDPR
  • EBA remote onboarding
  • MiCA compatible
  • FIDO Alliance member
  • AMLREU AML Regulation ready

Integration · Didit MCP

Run Didit from your own AI agent

Connect Didit to Claude, Cursor, VS Code or ChatGPT and just ask in plain words. Your agent can do anything you can do in the console, with the same permissions you have.

Add to ClaudeChatGPT
Didit Academy · Lesson 04 · Use Didit with MCP
  • Build workflowsDescribe the checks you need. The agent creates and publishes the flow.
  • Run investigationsAsk why a session was declined, review cases, search people and companies.
  • Change rulesCreate payment rules, test them on past data and switch them on.
  • Pull reportsAsk for numbers, exports or the audit log.

Verify your first user today.

Start free

Free sandbox. Credit applies to work-email sign-ups.