Skip to content

Implementation of Shamir Secret Sharing and Hierarchical Secret Sharing to compare both schemes

Notifications You must be signed in to change notification settings

PaulMoritz/Secret-Sharing-in-Comparison

Repository files navigation

Secret Sharing in Comparison

This repository provides code for Shamir secret sharing and hierarchical secret sharing as proposed by Tassa.

NOTE The provided code was shortened for the evaluation of the runtimes, as many assertions are simply provided to get a more robust system.

To get links to the references I strongly suggest viewing with a markdown reader or reader/browser with .md extension.

Structure

The code is split up between Shamir secret sharing and hierarchical secret sharing.
The instructions for both can be found in HSS for hierarchical secret sharing and SSS for Shamir secret sharing.
A general test of all functionality for some provided test setups can be done by running test_setups.py for hierarchical and shamir_test_setups.py for Shamir secret sharing directly from the console.
The example setups tested upon can be found in tassa_setups.yaml for hierarchical and shamir_setups.yaml respectively. Results of the example setups in regards to saved information such as the shares can be found in the code_tested/DATA directory.

About

Implementation of Shamir Secret Sharing and Hierarchical Secret Sharing to compare both schemes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages