EE-305 Project.
Implementing subjects:
prime algorithms,
mod function,
asymmetric relations (public-key encryption),
__init__.py | ||
.gitignore | ||
126-bit-key | ||
encodetest.py | ||
MillerRabin.py | ||
OAEP.py | ||
README.md | ||
rsa.py | ||
TODO |
hesham-rsa (hrsa)
A simple program written in python to implement RSA public encryption. Used as Course EE-305 project.
Installation
There is no packaging or installation. Works in current dir (portable) for now.
Usage
./hrsa
or
python hrsa
generating keys
To generate a key pair with an ID
./hrsa [keysize] [keyID]
All generated keys are {working dir}/saves/ in keys folder
encrypting
./hrsa encrypt "[message]" [RecieverKeyID] [SenderSignetureKeyID]