powersoftau

module
v0.0.0-...-e2af113 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 20, 2018 License: MIT

README

powersoftau

powersoftau is an independent implementation of the Powers of Tau MPC ceremony.

It is written in Go, shares no code with the main Rust implementation, and uses the RELIC toolkit for BLS12-381.

Installation

You will need a recent version of Go (1.9+ is known to work) and a C compiler.

git clone --recursive https://github.com/FiloSottile/powersoftau $(go env GOPATH)/src/github.com/FiloSottile/powersoftau
cd $(go env GOPATH)/src/github.com/FiloSottile/powersoftau && make
export CGO_LDFLAGS_ALLOW=".*\.a" # only needed for Go version 1.9.4
go install github.com/FiloSottile/powersoftau/cmd/taucompute
$(go env GOPATH)/bin/taucompute --help

Usage

Usage of taucompute:
  -challenge string
    	path to the challenge file (default "./challenge")
  -next string
    	path to the next challenge file, optional
  -pprof
    	run a profiling server; use ONLY FOR DEBUGGING
  -response string
    	path to the response file (default "./response")

To facilitate running multiple implementations of Powers of Tau, you can run taucompute with the -next flag, which will also write a new challenge file once done with the computation. NOTE: you will have to submit both response files.

Directories

Path Synopsis
cmd
internal
chacha20
Package ChaCha20 implements the core ChaCha20 function as specified in https://tools.ietf.org/html/rfc7539#section-2.3.
Package ChaCha20 implements the core ChaCha20 function as specified in https://tools.ietf.org/html/rfc7539#section-2.3.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL