项目作者: TheCodingGuys

项目描述 :
OpenRSA is a program to encrypt and decrypt the RSA cipher.
高级语言: Python
项目地址: git://github.com/TheCodingGuys/OpenRSA.git
创建时间: 2020-02-05T13:50:41Z
项目社区:https://github.com/TheCodingGuys/OpenRSA

开源协议:MIT License

下载


OpenRSA

Lines of Code
GitHub repo size

OpenRSA is a program to encrypt and decrypt the RSA cipher.

Example

For example if you had a friend you wanted to communicate with through an encrypted chat using the RSA cipher. You could use the following command newusr and then type your friends name whos name is in this case Bob. After that then you need to write your message at /users/Bob/encrypted.txt and Bob’s public key at /users/Bob/pubkey.txt. After that you can use the command encrypt and enter Bob to encrypt the contents of /users/Bob/encrypted.txt.

Installation

First of all, you need to install git if you don’t already have it.

  1. $ git clone https://github.com/TheCodingGuys/OpenRSA.git
  2. $ cd OpenRSA/
  3. $ python3 run.py
  4. Setting everything up...

Commands

  1. >>> help
  2. encrypt - Encrypts a file to a specified user.
  3. decrypt - Decrypts a file from a specified user.
  4. newusr - Adds a new user to directory 'users'.
  5. rmusr - Removes a user by name.
  6. credits - Credits.
  7. help - Displays this message.
  8. exit - Terminates.
  9. -- ADVANCED --
  10. chkey - Changes current encryption and decryption key.
  11. genkey - Generates a public and a private key with a specified key size.

Authors

vsp - Head-Developer