Skip to content

fabioel/rsa-aes-client-server-encryption-nodejs-example

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NodeJS and browser RSA / AES encryption Examples

Description

It's example of exchanging encrypted messages between server and client using simple Nodejs express framework and websocket library socket.io infrastructure for best visualisation. Client encryption side is written with browser javascript Web CryptoApi. Server side is written with Nodejs crypto and Nodejs node-rsa

READ DETAILED INFO IN ARTICLE

Requirements

nodejs 6 and >

Run with docker

docker-compose up

Generate keys

node generate

Then overwrite textarea key values in static/index.html

Run

node start

starting web server with websockets on 3000 port

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 95.1%
  • HTML 4.6%
  • CSS 0.3%