Skip to main content

sssss

Static (version of) Shamir’s Secret Sharing Scheme

PyPI version and link.

Package Installation and Usage

The package is available on PyPI:

python -m pip install sssss

The library can be imported in the usual ways:

import sssss
from sssss import sssss
from sssss import share, reconstruct

secret = b'Correct. Horse. Battery. Staple.'
shares = share(secret, minimum=3, shares=6)

print('Secret:', secret)
print('Shares:')
if shares:
    for share in shares:
        print('', '', share)

print('Secret recovered from minimum subset of shares:',
      reconstruct(shares[:3]))
print('Secret recovered from a different subset of shares:',
      reconstruct([shares[1], shares[3], shares[5]]))

Versioning

Beginning with version 0.2.0, the version number format for this library and the changes to the library associated with version number increments conform with Semantic Versioning 2.0.0.

Metadata

Release files for sssss 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sssss 0.1.2
File Size Uploaded Provenance Actions
sssss-0.1.2.tar.gz 3.3 kB Without provenance Details for sssss-0.1.2.tar.gz

Release files / sssss-0.1.2.tar.gz

Download URL sssss-0.1.2.tar.gz
Size 3.3 kB
Tags Source
SHA-256 checksum
How to use checksums
f672ac6995ffa68a51332986c2c620293ec791a7e646da1743089277ea4b4c90
BLAKE2b-256 checksum
How to use checksums
4ee002ab7538bdd880aa3fb1df8601d8bed119adfb9beca4557c0e7137e87b10
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.5

Security for sssss 0.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.2 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page