Coder Social home page Coder Social logo

fastecpp-docker's Introduction

FastECPP in Docker

This repo aims to run FastECPP checks in Docker.

Usage

Run ./build.ps1 and ./run.ps1 to start the container

While in the container terminal, use runandverify.sh if you just want to check a number:

# Single number
./runandverify.sh "10^500+10^499+10^460+1"

# From a file
while IFS= read -r line; do ./runandverify.sh $line; done < testnumbers.txt

One of the generated certificates (.primo) can be found in ./certs

Run the following to perform only the ECPP check and get the certificates:

ecpp -n '10^500+10^499+10^460+1' -c -f /fastecpp/certs/cert-500-499-460

Run the following to verify generated certificates:

export PYTHONPATH=/verify-cert/src
/verify-cert/ecpp-verify -i /fastecpp/certs/cert-500-500-499-460

Notes

FastECPP is relatively fast. It takes a fast PC on a single core around 35 seconds to test & verify a 1000 digit number, but over 500 seconds to process a 2000 digit number. With multiple cores times are a lot better, but should be tested for better insights. Don't expect to prove any million digit PRP soon

fastecpp-docker's People

Contributors

mrpapercut avatar

Watchers

 avatar  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.