An implementation of Shamir's Secret Sharing protocol in Julia
This project aims to aid users in distributing random shares, without sharing the secret.
For more details, Shamir's Secret Sharing Scheme
Pkg.add("Shamir")
In Julia
using Shamir, Polynomials
n = 6 #total number of parties
k = 3 #min num of shares
p = 1613 #field
poly_production = Poly([1234, 166, 94])
shares = Shamir.construct_shares(n, poly_production)
secret = Shamir.recover_secret(shares, n, k, p)