Awesome-Python-Scripts/RSA-key-pairs
obiwan69 ab66a7a474 Create key-pair-generator.py
Create description.md

Create requirements.txt

Rename description.md to README.md

Update requirements.txt

Update README.md
2019-10-20 17:45:20 +05:30
..
key-pair-generator.py Create key-pair-generator.py 2019-10-20 17:45:20 +05:30
README.md Create key-pair-generator.py 2019-10-20 17:45:20 +05:30
requirements.txt Create key-pair-generator.py 2019-10-20 17:45:20 +05:30

Python RSA Key Pair Generator

This python script will generate a private and public key pair using the RSA algorithm

Modules used

Math

import math

Random

import random

#Usage You can use the public and private key to encrypt and decrypt information Run the python file and get key pairs or edit the code and define your custom bounds in the random limits

random.randint(start,end)