Skip to content

Files

Latest commit

ab66a7a · Oct 20, 2019

History

History
This branch is 251 commits behind hastagAB/Awesome-Python-Scripts:master.

RSA-key-pairs

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Oct 20, 2019
Oct 20, 2019
Oct 20, 2019

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)