Threshold Issuance Selective Disclosure Credentials.
Project description
Coconut
Coconut is selective disclosure credential scheme supporting distributed threshold issuance, public and private attributes, re-randomization, and multiple unlinkable selective attribute revelations. Coconut can be used by modern blockchains to ensure confidentiality, authenticity and availability even when a subset of credential issuing authorities are malicious or offline. Coconut uses short and computationally efficient credentials, and our evaluation shows that most Coconut cryptographic primitives take just a few milliseconds on average, with verification taking the longest time (10 milliseconds).
Install
Coconut is built on top of petlib and bplib, you can install is as follows:
$ git clone https://github.com/asonnino/coconut-new
$ cd coconut-new
$ pip install -e .
Test
Tests can be run as follows:
$ pytest -v --cov=coconut 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
Hashes for coconut_lib-1.0.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5048417bcc81bbca91412ad7f1405eee0befdf08588557899c505553819f0da6 |
|
MD5 | b494fe530b5dbfc4b53adaa62f547b10 |
|
BLAKE2b-256 | 5afc322b7be423dd01e0aedefdc22c393e7b4f3f9c5d2b7a458dc00e99796a7f |