GithubHelp home page GithubHelp logo

aspineon / breaking-rsa-encryption Goto Github PK

View Code? Open in Web Editor NEW

This project forked from aoden2/breaking-rsa-encryption

0.0 1.0 0.0 112 KB

Breaking the RSA encryption using distributed computing

breaking-rsa-encryption's Introduction

Breaking RSA Encryption

Introduction

The project aims at decrypting the RSA algorithm via brute forcing and use of few intelligent algorithms. This program tries to calculate prime numbers p & q using distributed computing which determines phi and then decrypts the encrypted number by brute-force way. In September 2000, the US patent for the RSA algorithm expired, for the first time enabling software developers everywhere to freely include this PKC standard in their products. Refer the wiki for more details http://en.wikipedia.org/wiki/RSA_(cryptosystem)

Usage

Server

This has to be run on all the nodes, including the primary node.

$ rmiregistry
$ java Server

Primary

The program distributes the numbers to be computed uniformly amongst the number of available nodes.

$ java Main [ip1] [ip2] [...]

Example

Main.java has the variables defined as the following.

BigInteger n=new BigInteger("721498723487");
BigInteger e=new BigInteger("71");
BigInteger encryptedNumber=new BigInteger("2790");

Other set working integers are as follows.

{53390003, 235} = {17715907, 53390003}
{37600133, 743} = {31364807, 37600133}
{2868729161, 587} = {2800199471, 2868729161}
{239072460563, 1187} = {15307017707, 239072460563}
{25775503209341, 2095} = {5917905368239, 25775503209341}
{49818871, 81} = {28899049, 49818871}
{496303695959, 181} = {408558235285, 496303695959}
{19638286331501, 121} = {1298398434217, 19638286331501}
{566530045212367, 521} = {182681457184889, 566530045212367}

License

MIT: http://vineetdhanawat.mit-license.org/

breaking-rsa-encryption's People

Contributors

vineetdhanawat avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.