GithubHelp home page GithubHelp logo

rob0tsunny / belief_propagation_attack Goto Github PK

View Code? Open in Web Editor NEW

This project forked from justjoeygreen/belief_propagation_attack

0.0 1.0 0.0 11.24 MB

Implementation of the Belief Propagation Side Channel Attack

License: Other

Makefile 0.18% Python 99.82%

belief_propagation_attack's Introduction

belief_propagation_attack

An implementation of the Belief Propagation Attack in python.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

Use

make install

to install necessary dependencies from REQUIREMENTS.txt.

Building

If you have cython installed, we recommend you run

make cython-build

Otherwise, you can build from the provided .c files:

make build

Building may take a while! To check whether it has built correctly, run

python belief_propagation_attack/main.py

If this simulates an attack, you're good to go.

Running the tests

WIP: run

make test

and see what happens.

Built With

  • Python 2.7 - The language used
  • networkx - Used to simulate the factor graph
  • cython - To speed up some of the bottlenecked functions (arrayXOR)

Contributing

Please don't. I'll update this once I've finished my PhD.

Authors

License

This project is licensed under the University of Bristol Open Access Software Licence - see the LICENSE.md file for details

Acknowledgments

  • Elisabeth Oswald for my PhD supervision
  • Arnab Roy for suggesting some of the graph reductions
  • xkcd for helping me remain sane through my PhD life

belief_propagation_attack's People

Contributors

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