Skip to main content

Module share

Module share 

Source
Expand description

Opaque handle to a party’s portion of a distributed secret.

In a threshold scheme the secret key is never reconstructed in one place; instead each party holds a Share. After a DKG run each party obtains a fresh Share plus the shared public key. For signing sessions a pre-existing Share is loaded as input.

The framework treats share bytes as opaque — the encoding is defined by the scheme plugin. Share carries the scheme name so a share can only be fed back into a session of the same scheme.

Structs§

Share
A party’s share of a distributed secret.