Shamir.jl

An implementation of Shamir's Secret Sharing protocol in Julia
Author r0cketr1kky
Popularity
0 Stars
Updated Last
2 Years Ago
Started In
April 2020

Shamir.jl

An implementation of Shamir's Secret Sharing protocol in Julia

Build Status

This project aims to aid users in distributing random shares, without sharing the secret.

For more details, Shamir's Secret Sharing Scheme

Installation

Pkg.add("Shamir")

Usage

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)

Used By Packages

No packages found.