{ "info": { "author": "Andrei Lapets", "author_email": "a@lapets.io", "bugtrack_url": null, "classifiers": [], "description": "=======\nshamirs\n=======\n\nPython library with a minimal native implementation of Shamir's Secret Sharing algorithm.\n\n.. image:: https://badge.fury.io/py/shamirs.svg\n :target: https://badge.fury.io/py/shamirs\n :alt: PyPI version and link.\n\nPurpose\n-------\nThe library provides functions for computing secret shares given an integer input value, as well as for reassembling an integer from its corresponding shares using Lagrange interpolation over finite fields. The native python :code:`random.randint` function is used to generate the polynomial when creating shares.\n\nPackage Installation and Usage\n------------------------------\nThe package is available on PyPI::\n\n python -m pip install shamirs\n\nThe library can be imported in the usual way::\n\n import shamirs\n\nExamples\n--------\nThe library provides functions for splitting a value into a number of shares across a number of parties, and for reassembling those share back into the value they represent::\n\n >>> shares = shamirs.share(5, 3, 17)\n >>> shamirs.build(shares, 17)\n 5\n >>> shamirs.build(shamirs.share(123, 12, 15485867), 15485867)\n 123\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/lapets/lagrange", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "shamirs", "package_url": "https://pypi.org/project/shamirs/", "platform": "", "project_url": "https://pypi.org/project/shamirs/", "project_urls": { "Homepage": "https://github.com/lapets/lagrange" }, "release_url": "https://pypi.org/project/shamirs/0.1.0.0/", "requires_dist": null, "requires_python": "", "summary": "Python library with a minimal native implementation of Shamir's Secret Sharing algorithm.", "version": "0.1.0.0" }, "last_serial": 3489146, "releases": { "0.1.0.0": [ { "comment_text": "", "digests": { "md5": "949ab9e53a841b14242a50763011dfe9", "sha256": "8fb14efb4a531af1bcff00dce55120a5cecbba20e68249970bd6cc25f9e58e3f" }, "downloads": -1, "filename": "shamirs-0.1.0.0.tar.gz", "has_sig": false, "md5_digest": "949ab9e53a841b14242a50763011dfe9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2009, "upload_time": "2018-01-14T18:22:20", "url": "https://files.pythonhosted.org/packages/14/a7/785c3274274973b0aa917718d17e5b9b833f2353c9f0aa17b5afde8fc361/shamirs-0.1.0.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "949ab9e53a841b14242a50763011dfe9", "sha256": "8fb14efb4a531af1bcff00dce55120a5cecbba20e68249970bd6cc25f9e58e3f" }, "downloads": -1, "filename": "shamirs-0.1.0.0.tar.gz", "has_sig": false, "md5_digest": "949ab9e53a841b14242a50763011dfe9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2009, "upload_time": "2018-01-14T18:22:20", "url": "https://files.pythonhosted.org/packages/14/a7/785c3274274973b0aa917718d17e5b9b833f2353c9f0aa17b5afde8fc361/shamirs-0.1.0.0.tar.gz" } ] }