View Source Slip39.Shamir (slip39 v0.1.1)

Summary

Functions

Link to this function

compute_exp_log_tables()

View Source
@spec compute_exp_log_tables() ::
  {%{required(integer()) => integer()}, %{required(integer()) => integer()}}
Link to this function

create_digest(random_data, shared_secret)

View Source
@spec create_digest(binary(), binary()) :: binary()
Link to this function

decode_mnemonics(mnemonics)

View Source
Link to this function

interpolate(raw_shares, x)

View Source
@spec interpolate([Slip39.Share.RawShare], integer()) :: binary()
@spec random_identifier() :: non_neg_integer()
Link to this function

recover_secret(arg1, raw_shares)

View Source
Link to this function

split_ems!(group_threshold, groups, encrypted_master_secret, iteration_exponent, identifier)

View Source
@spec split_ems!(integer(), list(), binary(), any(), any()) :: list()
Link to this function

split_secret!(threshold, share_count, shared_secret)

View Source
@spec split_secret!(integer(), integer(), binary()) :: [
  %Slip39.Share.RawShare{data: term(), x: term()}
]