Skip to main content

No project description provided

Project description

Build Status License: GPL v3

Multi Party Schnorr Signatures (python extension)

Disclaimers:

(1) This code should not be used for production at the moment.

(2) This code is not secure against side-channel attacks

(3) The code do not contain a network layer (if you are interested, check white-city for ongoing effort, contribtutions are welcome)

Get Started

schnorr_bip_test_vector_2

schnorr_two_party_signing

threshold 3 out of 5 with 4 parties in signing

Install

Please use python3.5 or more
Install by pip pip3 install --user multi-party-schnorr
How to use? please look at examples *.py
Cannot use on windows? please read a issue/39

compressed key prefix

  • 0x02, 0x03, 0x04 => for 1 of 1 single signature
  • 0x05, 0x06, 0x07 => for n of n aggregate signature
  • 0x08, 0x09, 0x0a => for t of n threshold signature

performance

type secp256k1(~0.1.7) libsecp256k1-rs(0.1.8) emerald-city(0.1.9~) test code link
1 of 1 aggregate 112ms 3ms 1ms aggregate_1_of_1.py
n of n aggregate 458ms 7ms 3ms aggregate_n_of_n.py
t of n threshold 2475ms 68ms 33ms thresholdbig_t_of_n.py

Development Process

This contribution workflow is described in CONTRIBUTING.md.

Contact

Feel free to reach out or join the KZen Research Telegram for discussions on code and research.

License

The library is released under the terms of the GPL-3.0 license. See LICENSE for more information.

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

multi-party-schnorr-0.1.9.tar.gz (12.8 kB view details)

Uploaded Source

Built Distributions

multi_party_schnorr-0.1.9-cp36-cp36m-win_amd64.whl (1.4 MB view details)

Uploaded CPython 3.6m Windows x86-64

File details

Details for the file multi-party-schnorr-0.1.9.tar.gz.

File metadata

  • Download URL: multi-party-schnorr-0.1.9.tar.gz
  • Upload date:
  • Size: 12.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.19.5 CPython/3.6.8

File hashes

Hashes for multi-party-schnorr-0.1.9.tar.gz
Algorithm Hash digest
SHA256 9b1f600a6f59ac093e8dffb0ff67a6c9405e11aa650eb2d15c820945b22f9b73
MD5 77962c32d3994d05f0972bcc4dc03005
BLAKE2b-256 6c7d90bd4f231fcd9d8e603b8b2b0c44c81e48ab80e597d9115540ef8e754384

See more details on using hashes here.

File details

Details for the file multi_party_schnorr-0.1.9-cp36-cp36m-win_amd64.whl.

File metadata

  • Download URL: multi_party_schnorr-0.1.9-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 1.4 MB
  • Tags: CPython 3.6m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.19.5 CPython/3.6.8

File hashes

Hashes for multi_party_schnorr-0.1.9-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 18954062131083c7cc2618bcc4a554d54b17291da25850a864df1dd098bfa270
MD5 23e49561a3d80c92573d67d9a8c9dcd5
BLAKE2b-256 c557f1e4168cf7c2e0ed435bd70da06d4fad651df959f472dfd5a7841cddc7b0

See more details on using hashes here.

File details

Details for the file multi_party_schnorr-0.1.9-cp36-cp36m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for multi_party_schnorr-0.1.9-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 55781d593aa00a8074e9c5eceff8382fbccc9112e934f420456090d36e5d9895
MD5 7e9df34ed28fa534ed037bf990500ea0
BLAKE2b-256 cdcb15ccd4abfd8310244a55401c9d01ad66f9a8df65fb343014ec11c9806ee6

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