Skip to content

Latest commit

 

History

History
5 lines (3 loc) · 490 Bytes

README.md

File metadata and controls

5 lines (3 loc) · 490 Bytes

A rust implementation of Shamir secret sharing

This library demonstrates a k/n shamir secret sharing scheme. It supports: Creating shares from a secret, recovering a secret from a set of shares, addition and subtraction between secret-shares.

At the moment the library operates in a finite field of size 65413 (a 16-bit prime), this avoids any possible overflow from single operations on signed 64-bit integers (i64 in rust);