Skip to main content

BLS Signatures

license Build Status Documentation 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

Release files for bls-lib 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bls-lib 1.0.1
File Size Uploaded
bls-lib-1.0.1.tar.gz 17.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for bls-lib 1.0.1
File Interpreter ABI Platform
bls_lib-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 33.5 kB

Release files / bls-lib-1.0.1.tar.gz

Download URL bls-lib-1.0.1.tar.gz
Size 17.3 kB
Tags Source
SHA-256 checksum
How to use checksums
d271a7f1240e9a920652eb07eaec87e019c84a5de133a1295ef952b4d3026287
BLAKE2b-256 checksum
How to use checksums
7437bd65a7a1e4bd0d153b0914b29548d0b37c5d0f768c95b5adbee8d8d595ed
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / bls_lib-1.0.1-py3-none-any.whl

Download URL bls_lib-1.0.1-py3-none-any.whl
Size 16.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fbb9294bfc1db1ec11a86337a4bae0f21e73850f43a77203a787957f9ba8b911
BLAKE2b-256 checksum
How to use checksums
3611b0564973be57073cb3084b857f706ccd70fd162725fc6d0ded8246144674
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files

1.0.0

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page