hesham-rsa/README.md

24 lines
577 B
Markdown
Raw Normal View History

2020-07-10 06:25:20 +02:00
2020-08-28 01:47:01 +02:00
# hesham-rsa
A simple program written in python to implement RSA public encryption. Used as Course EE-305 project KAU.
2020-07-10 06:25:20 +02:00
# Installation
There is no packaging or installation. Works in current dir (portable) for now.
2020-08-28 01:47:01 +02:00
git clone https://apollo-server.ddns.net/gitea/Hesham/hesham-rsa.git
2020-07-10 06:25:20 +02:00
# Usage
2020-08-28 01:47:01 +02:00
./rsa.py
2020-07-10 06:25:20 +02:00
or
2020-08-28 01:47:01 +02:00
python rsa.py
2020-07-10 06:25:20 +02:00
## generating keys
2020-08-28 01:47:01 +02:00
to generate a key pair with and ID
2020-07-10 06:25:20 +02:00
2020-08-28 01:47:01 +02:00
./rsa.py [keysize] [keyID]
2020-07-10 06:25:20 +02:00
All generated keys are {working dir}/saves/ in keys folder
## encrypting
2020-08-28 01:47:01 +02:00
./rsa.py encrypt "[message]" [RecieverKeyID] [SenderSignetureKeyID]