Skip to content

This repo describes how to use the shared secret (generated using ECDH between two clients - Alice and Bob) to send encrypted messages between them using authenticated AES 256 using GCM

Notifications You must be signed in to change notification settings

trulymittal/ECDH-AES-256-GCM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Elliptic-curve Diffie–Hellman (ECDH) + authenticated encrytion using AES-256-GCM

This repo describes how to use the shared secret (generated using ECDH between two clients - Alice and Bob) to send authenticated encrypted messages between them using AES-256-GCM

In this repo we will use only the crypto module that is built inside nodejs.

How to use this repo

  1. Clone the repo using
git clone https://github.com/trulymittal/ECDH-AES-256-GCM.git
  1. Open terminal inside the downloaded project and install the dependencies using:
npm install
  1. Finally run the script using:
npm start

Authors

License

This project is licensed under the MIT License.

About

This repo describes how to use the shared secret (generated using ECDH between two clients - Alice and Bob) to send encrypted messages between them using authenticated AES 256 using GCM

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published