Skip to content

Latest commit

 

History

History
74 lines (56 loc) · 3.43 KB

File metadata and controls

74 lines (56 loc) · 3.43 KB

DIM Algorithm Plugins (Java)

License PRs Welcome Platform Issues Repo Size Tags Version

Watchers Forks Stars Followers

Dependencies

  • Latest Versions
Name Version Description
Cryptography Version Crypto Keys
Ming Ke Ming (名可名) Version Decentralized User Identity Authentication
Dao Ke Dao (道可道) Version Universal Message Module
DIMP (去中心化通讯协议) Version Decentralized Instant Messaging Protocol

Plugins

  1. Data Coding
    • Base-58
    • Base-64
    • Hex
    • UTF-8
    • JsON
    • PNF (Portable Network File)
    • TED (Transportable Encoded Data)
  2. Digest Digest
    • SHA-256
    • Keccak-256
    • RipeMD-160
  3. Cryptography
    • AES-256 (AES/CBC/PKCS7Padding)
    • RSA-1024 (RSA/ECB/PKCS1Padding), (SHA256withRSA)
    • ECC (Secp256k1)

Plugin Loader

import chat.dim.protocol.*;
import chat.dim.*;

public class CommonPluginLoader extends PluginLoader {

   private final CryptoPluginLoader extraPluginLoader = new CryptoPluginLoader();
   //private final NativePluginLoader extraPluginLoader = new NativePluginLoader();

    @Override
    public void load() {
        super.load();
        
        // load extra plugins
        extraPluginLoader.load();
    }

}

This library is primarily designed to implement various algorithms in a plug-in manner, allowing you to further develop additional algorithms tailored to your specific applications.


Copyright © 2018-2026 Albert Moky Followers