Giter VIP home page Giter VIP logo

dimp's Introduction

Decentralized Instant Messaging Protocol (DIMP)

license Version

0. Abstract

This document introduces a new protocol designed for instant messaging (IM) and an architecture for developing decentralized IM applications. The software provides accounts(user identity recognition) and communications between accounts safely by end-to-end encryption.

It includes just TWO extremely simple parts:

  1. User Identify
  2. Messaging

Copyright © 2018 Albert Moky

White papers

1. User Identify

1.0. Meta

See mkm.Meta for details.

1.1. ID

See mkm.ID for details.

1.2. Public Key

A public key (PK) was binded to an ID by the Meta Algorithm.

1.3. Entity (Account/Group)

Entity is the sender/receiver in the network communication.

An entity can be an account or a group. It has an ID, a name, and a number for searching.

An account will have a public key.

A group will have founder, owner and members.

// create account
user = new Account(accountID, accountPK);

// create group
group = new Group(groupID, founderID);

2. Messaging

2.0. Envelope

See dkd.Envelope for details.

2.1. Content

See dkd.Content for details.

2.2. Instant Message

See dkd.InstantMessage for details.

2.3. Reliable Message

See dkd.ReliableMessage for details.


Version 0.1 by Albert Moky [Sun Nov 11 23:18:08 CST 2018]

dimp's People

Contributors

moky avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.