From 9372246034560eb78ca134ba145a868ce6557d32 Mon Sep 17 00:00:00 2001 From: Hesham Date: Sat, 17 Oct 2020 11:03:39 +0300 Subject: [PATCH] Update 'README.md' --- README.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 50c57ef..694f5e0 100644 --- a/README.md +++ b/README.md @@ -5,19 +5,25 @@ A simple program written in python to implement RSA public encryption. Used as C 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 + cd hesham-rsa # Usage ./rsa.py [COMMAND] [ARGS] or - python rsa.py + python rsa.py [COMMAND] [ARGS] ## generating keys to generate a key pair with and ID ./rsa.py gen [keysize] [keyID] -All generated keys are {working dir}/saves/ in keys folder +All generated keys are saved in {$working_dir}/saves/ ## encrypting ./rsa.py encrypt "[message]" [RecieverKeyID] [SenderSignetureKeyID] +## decrypting +Assuming the encrypted message is encrypted to myPrivateKey + + ./rsa.py decrypt "[cipher]" [myPrivateKeyID] +The signature is checked with all public keys stored in keys directory \ No newline at end of file