This pages describes a module that provides basic functions for decentralized identifiers.

The module is under development and should not be used

DID stands for Decentralized Identifier, which is a type of identifier that is unique and persistent. It is designed to be self-owned, meaning that individuals and organizations can create and control their own DIDs without the need for a centralized authority. DID allows for secure and private interactions between parties without the need for a third-party intermediary.

DIDComm, on the other hand, is a secure messaging protocol that enables secure communication between parties who have exchanged DIDs. DIDComm provides a way for parties to exchange messages securely, authenticate each other, and establish secure channels for further communication.

Dido is a library created for KRL developers to use DIDs and DIDComm in their rulesets. With Dido, developers can create, use, and manage DIDs, as well as pack and unpack DIDComm messages. The dido.ts library is used in the dido.krl ruleset to establish connections, and from there, developers can implement various DIDComm protocols, such as the tic-tac-toe example. The implementation used in dido.ts and dido.krl is v2*, but the functionality of key rotation is not implemented and is something that has to be done in the future. By leveraging DIDs and DIDComm, developers can create secure and decentralized systems that enable trust and privacy in digital interactions.

*This implementation of DIDs is a Peer 2 DID.

Copyright Picolabs | Licensed under Creative Commons.