A simple Python implementation of threshold BLS signatures.
Project description
BLS Signatures
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file bls-lib-1.0.0.tar.gz
.
File metadata
- Download URL: bls-lib-1.0.0.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf120826818d14c24728d51f3d4f50d4f2884569c92ef2aac01528e794a42f7c |
|
MD5 | 95e063f0632e7f2c4288f706989cc8aa |
|
BLAKE2b-256 | bae6b9f5aebf44119d2b8f608c3f2b2c30a3ed96f5e687509f044c69d73ebc9c |
File details
Details for the file bls_lib-1.0.0-py2.py3-none-any.whl
.
File metadata
- Download URL: bls_lib-1.0.0-py2.py3-none-any.whl
- Upload date:
- Size: 15.7 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5e2a3df2cfe6d4c5d3d6ce0bd5e0072bb475aa9fc80615ac0f8a41983cf52501 |
|
MD5 | dc38be25511704f5caff05818766e056 |
|
BLAKE2b-256 | 9d9ec6d10fb1ec99b2dcdea41249fad719d0093927e6b3f70bb228c66f86d10e |