keyx v0.3.1 KeyX
Documentation for KeyX.
Link to this section Summary
Functions
Generate secret shares using Shamir’s Secret Sharing alrgorithm
Recover secrets from an appropriate number of shares. Must be equal or greater than the K
parameters
Link to this section Functions
Recover secrets from an appropriate number of shares. Must be equal or greater than the K
parameters.
Parameters
- Shares: List of shares (Base64 encoding) containing information about the share, and if signed, the signature.
Examples
iex> KeyX.recover_secret(["1-2-c3VwZXIgZHVwZXIgc2VjcmV0", "1-2-c3VwZXIgZHVwZXIgc2VjcmV0"])
{:ok, "super duper secret"}