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
File details
Details for the file coconut-lib-1.0.3.tar.gz
.
File metadata
- Download URL: coconut-lib-1.0.3.tar.gz
- Upload date:
- Size: 6.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 14d62d4a59cf89104629b28ed6d7965e76032a85d54d6dc7b8abb866ea0dfc93 |
|
MD5 | f849d514024b5f019c5db6858a37e36a |
|
BLAKE2b-256 | ee7ac169bb810f65f96e0e56f6cc315219eef7c49102da02ed219036dff2ddc9 |
File details
Details for the file coconut_lib-1.0.3-py2.py3-none-any.whl
.
File metadata
- Download URL: coconut_lib-1.0.3-py2.py3-none-any.whl
- Upload date:
- Size: 6.8 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4eef5fa685f6bd25e2f28f0361eac8c028659f78acdae41550b23f43fc23cab1 |
|
MD5 | 034a5f81f78a30c2dd6cc6926aca057c |
|
BLAKE2b-256 | f748857ec4e0afa057296fc880e33ccb3132ca8d2b722f35af7bb0a32ae6959c |