I am the
LizardPolynomial King, I can do anything!Jim Morrison
This repository contains the Rust crate used to generate the images for the blog post
"Shamir's Secret Sharing"
on storopoli.io
.
Shamir's Secret Sharing is a method in cryptography. It is a form of secret sharing, where a secret is divided into parts, giving each participant its own unique part. To reconstruct the secret, some or all of these parts are needed.
Under the hood it uses polynomial interpolation to generate the shares.
The code in this repository is used to illustrate this concept visually.
To generate the images, run the main script using cargo
:
cargo run --release
The images will be saved in the plots
directory.
Under the hood the code uses the plotters
crate to generate the images.
This project is licensed under the MIT License - see the LICENSE file for details.