Crate threshold_secret_sharing [] [src]

Threshold Secret Sharing

Pure-Rust library for secret sharing, offering efficient share generation and reconstruction for both traditional Shamir sharing and packet sharing. For now, secrets and shares are fixed as prime field elements represented by i64 values.

Modules

fields

This module implements in-place 2-radix and 3-radix numeric theory transformations (FFT on modular fields).

numtheory

Various number theory utilities functions that are used in the library.

packed

Packed variant of secret sharing, allowing to share efficiently several values together.

shamir

Unmodified Shamir Secret Sharing scheme.