The project includes four different files, each showcasing a specific aspect of the encryption process.
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.
This file demonstrates the usage of the Diffie-Hellman key exchange algorithm to establish a shared secret between two parties, Alice and Bob.
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.
This file demonstrates how to generate keys using ECDH and encrypt messages using AES-256.
This file demonstrates end-to-end encryption using AES-256-GCM and ECDH. It showcases the confidentiality, integrity, and authenticity offered by GCM mode.
- Clone the repo using
git clone https://github.com/MukeshKumarBagaria/end-to-end-encryption.git
- Open terminal inside the downloaded project and install the dependencies using:
npm install
- Finally run the script using:
npm start