EE-305 Project.
Implementing subjects:
prime algorithms,
mod function,
asymmetric relations (public-key encryption),
HeshamTB
d51a42589c
exit() cuases stack trace output from pyinstaller exe. It is also recommended to use sys.exit() in prodcution. Signed-off-by: HeshamTB <hishaminv@gmail.com> |
||
---|---|---|
__init__.py | ||
.gitignore | ||
126-bit-key | ||
encodetest.py | ||
MillerRabin.py | ||
OAEP.py | ||
README.md | ||
rsa.py | ||
TODO |
hesham-rsa
A simple program written in python to implement RSA public encryption. Used as Course EE-305 project KAU.
Installation
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
./rsa.py
or
python rsa.py
generating keys
to generate a key pair with and ID
./rsa.py [keysize] [keyID]
All generated keys are {working dir}/saves/ in keys folder
encrypting
./rsa.py encrypt "[message]" [RecieverKeyID] [SenderSignetureKeyID]