Skip to content

Basic example of an RSA exchange implemented in JAVA

Notifications You must be signed in to change notification settings

Han-0/RSA-Encryption

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

RSA-Encryption

Basic example of an RSA exchange implemented in JAVA

Dependencies: JDK 11 or greater.

Usage:

  1. Open directory in a CLI or IDE
  2. Execute KeyGen.java
  java KeyGen.java
  1. Import a message file to the same directory as Sender.java (can be a file of any type).
  2. Execute Sender.java
  java Sender.java
  1. Execute Reciever.java
  java Receiver.java
  1. If you want the decoded file to be in readable format, give it the original file extension when prompted for a file name in Reciever.java.

Known Issues:

Decryption algorithm produces more bytes than were present in original file.

About

Basic example of an RSA exchange implemented in JAVA

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages