{"id":22790292,"url":"https://github.com/louislefevre/rsa","last_synced_at":"2025-03-30T16:42:32.380Z","repository":{"id":104648182,"uuid":"245745413","full_name":"louislefevre/rsa","owner":"louislefevre","description":"RSA cryptosystem for demonstrating the encryption and decryption of messages","archived":false,"fork":false,"pushed_at":"2021-09-15T23:27:29.000Z","size":870,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-05T18:27:37.554Z","etag":null,"topics":["algorithm","cryptography","decryption","encryption","rsa"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/louislefevre.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-03-08T03:28:05.000Z","updated_at":"2021-09-15T23:27:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"37bb2810-9910-470b-908b-f3d09db62e22","html_url":"https://github.com/louislefevre/rsa","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/louislefevre%2Frsa","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/louislefevre%2Frsa/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/louislefevre%2Frsa/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/louislefevre%2Frsa/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/louislefevre","download_url":"https://codeload.github.com/louislefevre/rsa/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246350762,"owners_count":20763225,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["algorithm","cryptography","decryption","encryption","rsa"],"created_at":"2024-12-12T02:19:49.808Z","updated_at":"2025-03-30T16:42:32.375Z","avatar_url":"https://github.com/louislefevre.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RSA\nRSA cryptosystem for demonstrating the encryption and decryption of messages. The main purpose of this project is to show how the RSA algorithm works through a GUI, and should not be considered secure for actual encryption purposes.\n\nA video demonstration and explanation can be found [here](https://vimeo.com/403422627).\n\n## Example\n\u003cimg src=\"assets/decryption.png\" width=\"50%\" height=\"50%\"\u003e\n\n## How to Run\nThe compiler and runtime environment require minimum Java 8, and if on Windows, running from the command line requires the Java JDK to be added to the PATH environment variable.\n\nTo run the source code from command line:\n```\ncd src/main/java\njavac Main.java\njava Main\n```\n\nTo run the JAR file from command line:\n```\ncd bin/\njava -jar rsa.jar\n```\n\nTo run the EXE file from command line:\n```\ncd bin/\nrsa.exe\n```\n\n## How to Use\nWhen generating the keys, the entire process of how the RSA algorithm works is logged and explained in the console. However, note that this is only viewable when running the program via the first two \"How to Run\" options.\n\nAfter starting the program:\n- Generate the modulus, public key, and private key ([example](assets/generation.png)).\n- Encrypt a message using the modulus and public key ([example](assets/encryption.png)).\n- Decrypt the message using the modulus and private key ([example](assets/decryption.png)).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flouislefevre%2Frsa","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flouislefevre%2Frsa","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flouislefevre%2Frsa/lists"}