Implementation of Shamir's secret sharing scheme. (Wikipedia)
Shamir's secret sharing scheme is a threshold scheme which enables the user
to split a secret into n
shares, while requiring any k
shares to
reconstruct the original secret.
To execute, run:
python -m Shamir.shamir
This is a proof-of-concept and should not be used for anything important/serious!
- Switch to GF arithmetic
- Switch to encode/decode strings/byte arrays