Skip to content

Latest commit

 

History

History
23 lines (21 loc) · 745 Bytes

README.md

File metadata and controls

23 lines (21 loc) · 745 Bytes

RoundRabin

Encryption, Decryption and Keygeneration of Rabin Cryptosystem

References Used

Build Details

git clone https://github.com/p4r4xor/rabin-cryptosystem.git
cd integer-factorization/  
go build rabin-decrypt.go
go build rabin-encrypt.go
go build rabin-keygenerate.go

Usage

./rabin-encrypt <public_key_file_name> <message_in_decimal_format>
./rabin-decrypt <private_key_file_name> <ciphertext_in_decimal_format>
./rabin-keygenerate.go <public_key_file_name> <private_key_file_name>

Running the following prompts you to enter a number of your choice.
Keyboard Interrupt stops the program.