Git Product home page Git Product logo

end-to-end-encryption's Introduction

End-to-End Encryption

The project includes four different files, each showcasing a specific aspect of the encryption process.

Introduction

This repository showcases the implementation of end-to-end encryption using the Diffie-Hellman key exchange algorithm and AES encryption. Encryption ensures secure communication between parties by allowing them to exchange encrypted messages while keeping their shared secrets private.

File 1: diffie-hellman-shared-secret.js

This file demonstrates the usage of the Diffie-Hellman key exchange algorithm to establish a shared secret between two parties, Alice and Bob.

File 2: ECDH.js

This file showcases the Elliptic Curve Diffie-Hellman (ECDH) key exchange algorithm, which offers enhanced security with less computational overhead compared to traditional Diffie-Hellman.

File 3: ECDH-AES.js

This file demonstrates how to generate keys using ECDH and encrypt messages using AES-256.

File 4: app.js

GCM- Galios/Counter Provides This file demonstrates end-to-end encryption using AES-256-GCM and ECDH. It showcases the confidentiality, integrity, and authenticity offered by GCM mode.

How to use this repo

  1. Clone the repo using
git clone https://github.com/MukeshKumarBagaria/end-to-end-encryption.git
  1. Open terminal inside the downloaded project and install the dependencies using:
npm install
  1. Finally run the script using:
npm start

Screenshots

Screenshot 1: Working of diffie hellman(an symmetric algo. for encyption)

Screenshot 1

Screenshot 2: Mathematically working of diffie hellman

Screenshot 2 Screenshot 3

Screenshot 3: symmetric encryption working

Screenshot 4

end-to-end-encryption's People

Contributors

mukeshkumarbagaria 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.