https://github.com/andrusovn/rsa

A simple app to create and use RSA keys

https://github.com/andrusovn/rsa

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (5.1%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

A simple app to create and use RSA keys

Basic Info
  • Host: GitHub
  • Owner: AndrusovN
  • Language: Python
  • Default Branch: main
  • Size: 3.91 KB
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created about 1 year ago · Last pushed about 1 year ago
Metadata Files
Readme

README.md

RSA key management app

This is a simple console app to manage RSA keys. It can:

  • Create RSA keys of a given length (python3 main.py -g -s SIZE filename)
  • Encrypt text using public key file (python3 main.py -e path_to_public_key and then input your text)
  • Decrypt ciphertext using private key file (python3 main.py -d path_to_private_key and then input your ciphertext)
  • Show (public of private) key information (python3 main.py -v path_to_key)
  • Show info message (python3 main.py --help)

This implements a naive RSA which cannot encrypt or decrypt messages with length more than keysize. You can see the info about max message length in information about the key

Installation (for Linux):

git clone git@github.com:AndrusovN/RSA.git python3 -m venv venv . venv/bin/activate pip3 install -r requirements.txt

Owner

  • Name: Nikita Andrusov
  • Login: AndrusovN
  • Kind: user
  • Location: Moscow, Russia

I'm passioned with math and problem solving!

GitHub Events

Total
  • Push event: 3
  • Create event: 1
Last Year
  • Push event: 3
  • Create event: 1

Dependencies

requirementx.txt pypi
  • egcd ==2.0.2
  • gmpy2 ==2.2.1