Code Monkey home page Code Monkey logo

nym-mixnet's Introduction

Anonymous messaging using mix networks

This is an implementation of a private communications system based on Ania Piotrowska's PhD research. It implements a Loopix mixnet as well as the Sphinx packet format.

Setup

To build and test the code you need:

  • Go 1.12 or later

To build the code:

make

To perform the unit tests run:

go test ./...

Before first fresh run of the system run:

./scripts/clean.sh

This removes all log files, local provider inboxes, and database.

Usage

To run the network, i.e., mixnodes and providers run:

./scripts/run_network.sh

This spins up 3 mixnodes and 1 provider. You can pass arguments to the script (e.g. ./scripts/run_network.sh 6 if you want to run 6 mixnodes instead of 3.

To initialise a mix client, run:

./build/loopix-client init --id <YOUR_ID> --local

To run the previously initialised client, run:

./build/loopix-client run --id <YOUR_ID> 

If you run the command in two different terminal windows whilst providing different IDs, you will be able to communicate between those clients.

nym-mixnet's People

Contributors

futurechimp avatar jstuczyn avatar maljub01 avatar aniampio avatar

Watchers

James Cloos 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.