Skip to content
Example of native RSA encryption and decryption
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
.gitignore
README.md
docker-compose.yml

README.md

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.

You can’t perform that action at this time.