storopoli / shamir-secret-sharing

This repository contains the Rust crate used to generate the images for the blog post "Shamir's Secret Sharing"

Home Page:https://storopoli.io/2024-04-14-shamir-secret-sharing

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Shamir's Secret Sharing Image Generator

License: MIT

I am the Lizard Polynomial 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 Secret Sharing

Overview

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.

Usage

To generate the images, run the main script using cargo:

cargo run --release

The images will be saved in the plots directory.

Acknowledgements

Under the hood the code uses the plotters crate to generate the images.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

This repository contains the Rust crate used to generate the images for the blog post "Shamir's Secret Sharing"

https://storopoli.io/2024-04-14-shamir-secret-sharing

License:MIT License


Languages

Language:Rust 100.0%