Skip to main content

A simple Python implementation of threshold BLS signatures.

Project description

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

Project details


Download files

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

Source Distribution

bls-lib-1.0.1.tar.gz (17.3 kB view details)

Uploaded Source

Built Distribution

bls_lib-1.0.1-py3-none-any.whl (16.3 kB view details)

Uploaded Python 3

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

Hashes for bls-lib-1.0.1.tar.gz
Algorithm Hash digest
SHA256 d271a7f1240e9a920652eb07eaec87e019c84a5de133a1295ef952b4d3026287
MD5 0c760d912d5e4db01adda9cc343db0fd
BLAKE2b-256 7437bd65a7a1e4bd0d153b0914b29548d0b37c5d0f768c95b5adbee8d8d595ed

See more details on using hashes here.

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

Hashes for bls_lib-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fbb9294bfc1db1ec11a86337a4bae0f21e73850f43a77203a787957f9ba8b911
MD5 97d6763aa85b6c45f18f31a2a2e14cb0
BLAKE2b-256 3611b0564973be57073cb3084b857f706ccd70fd162725fc6d0ded8246144674

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page