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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file bls-lib-1.0.1.tar.gz.
File metadata
- Download URL: bls-lib-1.0.1.tar.gz
- Upload date:
- Size: 17.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d271a7f1240e9a920652eb07eaec87e019c84a5de133a1295ef952b4d3026287
|
|
| MD5 |
0c760d912d5e4db01adda9cc343db0fd
|
|
| BLAKE2b-256 |
7437bd65a7a1e4bd0d153b0914b29548d0b37c5d0f768c95b5adbee8d8d595ed
|
File details
Details for the file bls_lib-1.0.1-py3-none-any.whl.
File metadata
- Download URL: bls_lib-1.0.1-py3-none-any.whl
- Upload date:
- Size: 16.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fbb9294bfc1db1ec11a86337a4bae0f21e73850f43a77203a787957f9ba8b911
|
|
| MD5 |
97d6763aa85b6c45f18f31a2a2e14cb0
|
|
| BLAKE2b-256 |
3611b0564973be57073cb3084b857f706ccd70fd162725fc6d0ded8246144674
|