Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 982 Bytes

File metadata and controls

24 lines (16 loc) · 982 Bytes

python_javascript_rsa_implementation

A sample code base that explains the RSA algorithm's implementation using python and javascript using external libraries. This encryption & decryption works between the python and javascript. Like the data encrypted in the python side can be decrypted in the javascript side and vice versa.

This can be implemented in any forms of python and javascript like react, angular, django, flask, etc etc..

Prerequisites

  1. Python3 & Virtualenv
  2. Node & NPM

Getting Started

  1. Just run the init script to initialize the project. Run ./init.sh from your project root.
  2. Run the python3 module by running python3 backend.py.
  3. Run the javascript module by running node frontend.py.

Reference Links

  1. node-jsencrypt
  2. jsencrypt
  3. RsaEncryptionAndDecryption - Python