Cryptographic library for secret sharing and key management, powered by Rust
Project description
PyQuorum
Cryptographic library for secret sharing and key management, powered by Rust
Installation
pip install pyquorum
Quick Start
from pyquorum import ShamirScheme, generate_key
k=3 # threshold for combine
n=4 # number of total shares
key = generate_key()
Scheme = ShamirScheme(k, n)
shares = Scheme.split(key)
combine = Scheme.combine(shares)
Security
This library does:
- generate key
- split secret
- combine secret
What it doesn't:
- replace encryption packages like cryptography, pyserpent and etc
If you found a security issue, please refer to SECURITY.md
Roadmap to v1.0.0
- - Shamir Scheme
- - Blakley Scheme
- - Additive Scheme
- - HKDF Key Derivation
- - Threshold ECDSA
Support
If you find this package usefull, you can star repo on github
Theory
Shamir Scheme Share
How to split a secret key
How to combine a secret key
Example
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 Distributions
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyquorum-0.1.2-cp312-cp312-win_amd64.whl.
File metadata
- Download URL: pyquorum-0.1.2-cp312-cp312-win_amd64.whl
- Upload date:
- Size: 127.2 kB
- Tags: CPython 3.12, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9f883c33656fbcadbcfb605182b983fa3035c14f43d98d9f481a17e01dcfb11d
|
|
| MD5 |
aaaf18f777da03bba782d3b7eff96933
|
|
| BLAKE2b-256 |
e24891ab8ae5bc60a5f0f5f26ae13c4e44e2fefc5d7d652d9be905f2e77534b0
|
Provenance
The following attestation bundles were made for pyquorum-0.1.2-cp312-cp312-win_amd64.whl:
Publisher:
publish.yml on svvqt/pyquorum
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pyquorum-0.1.2-cp312-cp312-win_amd64.whl -
Subject digest:
9f883c33656fbcadbcfb605182b983fa3035c14f43d98d9f481a17e01dcfb11d - Sigstore transparency entry: 1318237165
- Sigstore integration time:
-
Permalink:
svvqt/pyquorum@97d57292e7a0b466ccd658cfd444237fa7f6367e -
Branch / Tag:
refs/tags/v0.1.2 - Owner: https://github.com/svvqt
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@97d57292e7a0b466ccd658cfd444237fa7f6367e -
Trigger Event:
push
-
Statement type:
File details
Details for the file pyquorum-0.1.2-cp312-cp312-macosx_11_0_arm64.whl.
File metadata
- Download URL: pyquorum-0.1.2-cp312-cp312-macosx_11_0_arm64.whl
- Upload date:
- Size: 200.5 kB
- Tags: CPython 3.12, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
41b9e7af81ad1bcccf2f4433ceb1c79a22e6b95f1e7c2ee7544cb54c20e373b5
|
|
| MD5 |
39d21dbab3d67f9580bf2ec2c009f83d
|
|
| BLAKE2b-256 |
7c49557c48496421cb692b1f7f6e0c9173e85e5dc1621e518261cc09240f4e0c
|
Provenance
The following attestation bundles were made for pyquorum-0.1.2-cp312-cp312-macosx_11_0_arm64.whl:
Publisher:
publish.yml on svvqt/pyquorum
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pyquorum-0.1.2-cp312-cp312-macosx_11_0_arm64.whl -
Subject digest:
41b9e7af81ad1bcccf2f4433ceb1c79a22e6b95f1e7c2ee7544cb54c20e373b5 - Sigstore transparency entry: 1318237055
- Sigstore integration time:
-
Permalink:
svvqt/pyquorum@97d57292e7a0b466ccd658cfd444237fa7f6367e -
Branch / Tag:
refs/tags/v0.1.2 - Owner: https://github.com/svvqt
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@97d57292e7a0b466ccd658cfd444237fa7f6367e -
Trigger Event:
push
-
Statement type:
File details
Details for the file pyquorum-0.1.2-cp311-cp311-manylinux_2_28_x86_64.whl.
File metadata
- Download URL: pyquorum-0.1.2-cp311-cp311-manylinux_2_28_x86_64.whl
- Upload date:
- Size: 227.1 kB
- Tags: CPython 3.11, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ff4ea5cef5ea0a0a213a46246e78106b0dd5fa831ffa0350d5ed5bd2ff887cc9
|
|
| MD5 |
c8b395d2b096d38a2b29651c80fc3b98
|
|
| BLAKE2b-256 |
285c1013aa95afa451ed91fde4b5a52cf1b3b33b49125b264bf56ab8231d3728
|
Provenance
The following attestation bundles were made for pyquorum-0.1.2-cp311-cp311-manylinux_2_28_x86_64.whl:
Publisher:
publish.yml on svvqt/pyquorum
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pyquorum-0.1.2-cp311-cp311-manylinux_2_28_x86_64.whl -
Subject digest:
ff4ea5cef5ea0a0a213a46246e78106b0dd5fa831ffa0350d5ed5bd2ff887cc9 - Sigstore transparency entry: 1318236933
- Sigstore integration time:
-
Permalink:
svvqt/pyquorum@97d57292e7a0b466ccd658cfd444237fa7f6367e -
Branch / Tag:
refs/tags/v0.1.2 - Owner: https://github.com/svvqt
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@97d57292e7a0b466ccd658cfd444237fa7f6367e -
Trigger Event:
push
-
Statement type: