Skip to content
Shamir's Secret Sharing Scheme implemented in Java
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
src escape characters Sep 21, 2016


Java program for Shamir's Secret Sharing Scheme. This scheme takes a secret and breaks it into t shares, n of which are needed in order to reconstruct the shares. This implementation uses GF(p) for the polynomial.


java -jar Shamir.jar share <path to file containing secret> <number of shares> <threshold>

java -jar Shamir.jar combine <path to file containing shares> <prime>

You can’t perform that action at this time.