Skip to content

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

Notifications You must be signed in to change notification settings

TheEliteOneShot/GroupKey_SmartContract_Diffie-Hellman

Repository files navigation

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

About

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.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published