Archistar / archistar-smc

Secret sharing library in Java for the Archistar multi-cloud storage system
http://archistar.at
GNU Lesser General Public License v2.1
45 stars 18 forks source link

add Interface for incremental validating shareCount #2

Closed andreashappe closed 6 years ago

andreashappe commented 10 years ago

Currently SecretSharing#reconstruct accepts a collection of shares and tries to reconstruct it.

For usage in the archistar-core prototype a new function "checkValidShareCount(Share[] shares)" would be needed. The method's implmentation differs between implemented algorithms. Shamir, Rabin, etc. would need at least k shares (archistar-core should be able to retrieve 2f+1 from BFT). When using RabinBenOr (or another robust secret-sharing scheme) this method would be called after each received share to check if valid share combinations were received.

andreashappe commented 10 years ago

Mostly this should be a helper class with methods like