Update 'README.md'
This commit is contained in:
parent
45584d378e
commit
c121314eb9
18
README.md
18
README.md
@ -1,21 +1,23 @@
|
|||||||
|
|
||||||
# hesham-rsa (hrsa)
|
# hesham-rsa
|
||||||
A simple program written in python to implement RSA public encryption. Used as Course EE-305 project.
|
A simple program written in python to implement RSA public encryption. Used as Course EE-305 project KAU.
|
||||||
# Installation
|
# Installation
|
||||||
There is no packaging or installation. Works in current dir (portable) for now.
|
There is no packaging or installation. Works in current dir (portable) for now.
|
||||||
|
|
||||||
|
git clone https://apollo-server.ddns.net/gitea/Hesham/hesham-rsa.git
|
||||||
|
|
||||||
# Usage
|
# Usage
|
||||||
|
|
||||||
./hrsa
|
./rsa.py
|
||||||
or
|
or
|
||||||
|
|
||||||
python hrsa
|
python rsa.py
|
||||||
|
|
||||||
## generating keys
|
## generating keys
|
||||||
To generate a key pair with an ID
|
to generate a key pair with and ID
|
||||||
|
|
||||||
./hrsa [keysize] [keyID]
|
./rsa.py [keysize] [keyID]
|
||||||
All generated keys are {working dir}/saves/ in keys folder
|
All generated keys are {working dir}/saves/ in keys folder
|
||||||
## encrypting
|
## encrypting
|
||||||
|
|
||||||
./hrsa encrypt "[message]" [RecieverKeyID] [SenderSignetureKeyID]
|
./rsa.py encrypt "[message]" [RecieverKeyID] [SenderSignetureKeyID]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user