The idea of this project is to show the mathematical concepts behind the RSA (Rivest-Shamir-Adleman) algorithm explained in the Cybersecurity classes at FIAP University (Computer Engineering degrees).
- NodeJS - Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine.
- NPM JS - npm (short for Node.js package manager) is a package manager for the JavaScript programming language.
- Node-forge - A native implementation of TLS (and various other cryptographic tools) in JavaScript.
- Commander.js - The complete solution for node.js command-line interfaces, inspired by Ruby's commander.
npm install
You have 2 mandatory parameters: bits and string that you can check below:
Options:
-v, --version output the version number
-b, --bits <n> The Encrypion bits that will be used (Eg. 4096)
-s, --string <string> The string that you want to encrypt/decrypt
-h, --help output usage information
node index.js -b 512 -s "TESTING"