Code Monkey home page Code Monkey logo

celo-threshold-bls-rs's Introduction

Threshold BLS Signatures and DKG

Overview

This crate provides libraries and command line interfaces for producing threshold BLS signatures. The signatures can also be blind in order to preserve the privacy of the user asking for a signature from another set of parties.

Distributed Key Generation for generating the threshold public key is based on Secure Distributed Key Generation for Discrete-Log Based Cryptosystems

Build Guide

Build with cargo build (--release).

Test with cargo test.

All crates require Rust 2018 edition and are tested on the following channels:

  • 1.41.0

If you do not have Rust installed, run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

Android and iOS

The library compiles to Android and iOS. This has been tested with Rust v1.41.0.

To compile to Android:

  1. Download Android NDK r21 and unzip it
  2. Set the NDK_HOME env var to the extracted directory
  3. cd cross
  4. ./create-ndk-standalone
  5. make android

To compile to ios: 3. cd cross 4. make ios

Directory Structure

This repository contains several Rust crates that implement the different building blocks of the MPC. The high-level structure of the repository is as follows:

  • dkg-cli: Rust crate that provides a CLI for the distributed key generation
  • dkg-core: Rust crate that provides the implementation utilities for the DKG
  • threshold-bls: (blind) threshold BLS signatures for BLS12-381 and BLS12-377
  • threshold-bls-ffi: FFI and WASM bindings to threshold-bls for cross platform interoperability

Disclaimers

This software has not been audited. Use at your own risk.

celo-threshold-bls-rs's People

Contributors

gakonst avatar kobigurk avatar nikkolasg avatar jmrossy avatar dignifiedquire 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.