Giter Club home page Giter Club logo

rsa-factoring-challenge's Introduction

RSA Factoring Challenge

0.Factorize all the things!

0. Factorize all the things!#advanced

Factorize as many numbers as possible into a product of two smaller numbers.

  • Usage:factors <file>
    • where<file>is a file containing natural numbers to factor.
    • One number per line
    • You can assume that all lines will be valid natural numbers greater than 1
    • You can assume that there will be no empy line, and no space before and after the valid number
    • The file will always end with a new line
  • Output format:n=p*q
    • one factorization per line
    • pandqdon't have to be prime numbers
    • See example
  • You can work on the numbers of the file in the order of your choice
  • Your program should run without any dependency: You will not be able to install anything on the machine we will run your program on
  • Time limit: Your program will be killed after 5 seconds if it hasn't finish
  • Push all your scripts, source code, etc... to your repository
    • we will only run your executablefactors

1. RSA Factoring Challenge#advanced

RSA Laboratories states that: for each RSA numbern, there exist prime numberspandqsuch that

n=pร—q. The problem is to find these two primes, given onlyn.

This task is the same as task 0, except:

  • pandqare always prime numbers
  • There is only one number in the files

How far can you go in less than 5 seconds?

rsa-factoring-challenge's People

Contributors

purpleeunice avatar

Watchers

 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.