Skip to content

carloosamarante/rsa-encryption

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RSA Encryption

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).

Dependencies and Technologies used

  • 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.

Running locally

Dowloading dependencies

npm install

Parameters

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

Running

node index.js -b 512 -s "TESTING"

About

RSA encryption with Node.js

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •