Skip to content

Latest commit

 

History

534 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Secure Chat (Android version)

Demo project of DIM Client, just for study purpose.

Dependencies:

Sub Modules

SDK Modules

Module Version Description
Crypto 2.1.0 Keys
MingKeMing 2.1.0 Account Module
DaoKeDao 2.1.0 Message Module
DIMP 2.1.0 Core Protocols
SDK 2.1.0
Plugins 2.1.0

Network Modules

Module Version Description
ByteArray 0.1.2 Byte Buffer
TLV 0.1.4 Tag Length Value
STUN 0.1.5
TURN 0.1.5
MTP 0.1.7 Network Packing
StarTrek 1.1.0 Transport
TCP 1.1.0
UDP 1.1.0
DMTP 0.2.3 Binary Messaging

Others

Module Version Description
FSM 1.1.0 State Machine
StarGate 1.1.0 Transport
LNC 0.2.1 Notification
DOS 0.1.3 File System

Architecture Diagram

<style> pre code { font-family: "Lucida Console", "Consolas", Monaco, monospace; line-height: 0px; } </style>
          
          
                 +-------+        +--------+        +-------+
          .....> |  SDK  | .....> |  DIMP  | .....> |  DKD  |
          :      +-------+        +--------+        +-------+
          :                           ^                 :
          :                           :                 V
          :          +-----------+    :             +-------+      +--------+
          :........> |  Plugins  | ...:             |  MKM  | ...> | Crypto |
          :          +-----------+                  +-------+      +--------+
          :
    +==========+
    |  SEChat  |
    +==========+
          :
          :     +-------+
          :...> |  LNC  |
          :     +-------+
          :     
          :     +-------+
          :...> |  DOS  |
          :     +-------+
          :
          :     +------------+       +-------+     +----------+     +-------+
          :...> |  StarGate  | ....> |  TCP  | ..> | StarTrek | ..> |  FSM  |
          :     +------------+       +-------+     +----------+     +-------+
          :            :                                ^
          :            :             +-------+          :
          :            :...........> |  UDP  | .........:
          :                          +-------+          :
          :                                             V
          :     +--------+                          +-------+           
          :...> |  DMTP  | .......................> |  MTP  | ...........
                +--------+            :             +-------+           :
                                      V                                 V
                +--------+        +--------+        +-------+        +------+
                |  TURN  | .....> |  STUN  | .....> |  TLV  | .....> |  BA  |
                +--------+        +--------+        +-------+        +------+


-- Edited by Alber Moky @ 2023-3-25

About

DIM Client

Resources

Stars

4 stars

Watchers

3 watching

Forks

Releases

Packages

Used by

Contributors

Languages