[][src]Module secret_sharing::shamir_secret_sharing

Functions

get_shared_secret

Generate a secret with its shares according to Shamir secret sharing. Returns the secret and a map of share_id -> share

get_shared_secret_with_polynomial

Generate a random polynomial with the secret at the polynomial evaluation at 0.

reconstruct_secret