Skip to main content

A simple Python implementation of threshold BLS signatures.

Project description

BLS Signatures

license Build Status

A simple Python implementation of threshold BLS signatures.

A link to the full paper is available at the following address: https://iacr.org/archive/asiacrypt2001/22480516.pdf

Pre-requisites

This implementation is built on top of petlib and bplib, make sure to follow these instructions to install all the pre-requisites.

Install

If you have pip installed, you can install bls with the following command:

$ pip install bls-lib

otherwise, you can build it manually as below:

$ git clone https://github.com/asonnino/bls
$ cd bls
$ pip install -e .

Test

Tests can be run as follows:

$ pytest -v --cov=bls tests/

or simply using tox:

$ tox

License

The GPLv3 license

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
bls_lib-1.0.0-py2.py3-none-any.whl (15.7 kB) Copy SHA256 hash SHA256 Wheel py2.py3 May 13, 2018
bls-lib-1.0.0.tar.gz (4.6 kB) Copy SHA256 hash SHA256 Source None May 13, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page