barzik / rsa-node

Example of native RSA encryption and decryption

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

crypto PEM example

Example of decrypting and asynchronous encryption with node.js.

Key Generation

ssh-keygen -t rsa -b 4096 -C "info@internet-israel.com" -f app/example_id_rsa and:

ssh-keygen -f app/example_id_rsa -e -m pem > app/example_id_rsa.pub

Usage

Generate the keys first! then:

node app/index.js

OR

docker-compose up with docker.

About

Example of native RSA encryption and decryption


Languages

Language:JavaScript 100.0%