Giter VIP home page Giter VIP logo

fuleecanotebook's Introduction

Scripts for the 'Breaking FuLeeca with MIP' paper and the thesis.

We have the following scripts:

attackfuleeca.py: Python module that simulates the reference implementation for FuLeeca. Contains algorithms to generate a key pair, generate a signature,  verify a signature, transform the public key, and attack an instance with the NHF transformation. The notebook NewFuLeecainuse.ipynb shows how to use each function.

TextbookFuLeecaAttack.py: Python module that simulates the textbook FuLeeca. Contains algorithms to generate a key pair, generate a signature,  verify a signature, transform the public key, and attack an instance without the NHF transformation. The notebook OrigAttackNewFuLeecainuse.ipynb shows how to use each function.

TextbookFuLeecawithtNHF.py: Python module that simulates the textbook FuLeeca. Contains algorithms to generate a key pair, generate a signature,  verify a signature, transform the public key and attack an instance with the NHF transformation. The notebookTextbookFuLeecainuse.ipynb shows how to use each function.

GenerateFuLeecaKey.ipynb: creates a FuLeeca key pair and writes the public key to a CSV file. By default, a toy parameter set is used, but the parameters can be changed in the script.
FormatPublicKey.ipynb: From a public key file in CSV, create a .dat file that can be fed to Pyomo
 
Requires:
A full installation of AMPL and the other solvers in the local computer
Or running the Notebooks on Google Colab

Toy example
You can see the toy example presented in my thesis at the website https://sites.google.com/view/antsafuleecatoyexample. You can see the source code in the file ToyExampleSagemath.ipynb

 

fuleecanotebook's People

Contributors

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