mirror of
https://github.com/hastagAB/Awesome-Python-Scripts.git
synced 2024-11-27 22:11:07 +00:00
ab66a7a474
Create description.md Create requirements.txt Rename description.md to README.md Update requirements.txt Update README.md
22 lines
416 B
Markdown
22 lines
416 B
Markdown
# 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)
|
|
```
|