Git Product home page Git Product logo

theeliteoneshot / groupkey_smartcontract_diffie-hellman Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 3.06 MB

A web interface to establish encryption with any sized group of users by generating a private key via Diffie-Hellman and sharing it with a smart contract.

License: GNU General Public License v3.0

Batchfile 0.90% HTML 99.10%
smart-contracts ethereum metamask-plugin xampp ropsten jquery blockchain-demos diffie-hellman

groupkey_smartcontract_diffie-hellman's Introduction

GroupKey_SmartContract_Diffie-Hellman

A web tool used to establish Group Key Encryption via Diffie-Hellman by using a Smart Contract.

Requirements:

  1. The necessary JavaScript script dependencies need to be added.
  2. A web testing environment is required. (XAMPP is recommended for local testing)
  3. MetaMask tool needs to be installed and configured.
  4. The userManager.sol or old_userManager.sol smart contract needs to be transacted to a distributed blockchain and linked to the dApp. (Either private, main, or Ropsten recommended)

The main difference between userManager.sol and old_userManager.sol is that old_userManager.sol parses the string inside the smart contract whereas userManager.sol leaves that job to the client. Parsing strings inside a smart contract is operation intensive which translates to more gas which translates to inefficiency.

I have authored a paper that was accepted to IEEE that describes the operation of this distributed application in closer detail.

Paper Link: Private Group Communication in Blockchain via Diffie-Hellman Key Exchange

groupkey_smartcontract_diffie-hellman's People

Contributors

theeliteoneshot avatar

Stargazers

 avatar  avatar

Watchers

 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.