Main API definition Should ultimately allow some flexibility around how shares can be provided and returned (e.g. provide hex string instead of mnemonics)
Struct for returned shares
Main definition of a share and its mnemonic serialization
Wallet errors, mostly wrappers around underlying crypto or I/O errors.
Combines shares into a master secret (e.g. BIP39 entropy)
Decode a hex string into bytes.
Generates shares from the provided master secret (e.g. BIP39 entropy)
Generate a random master secret (e.g. BIP39 entropy) and returns the shares from it
Encode the provided bytes into a hex string