[][src]Crate sssmc39

Main API definition Should ultimately allow some flexibility around how shares can be provided and returned (e.g. provide hex string instead of mnemonics)

Structs

Error

Error definition

GroupShare

Struct for returned shares

Share

Main definition of a share and its mnemonic serialization

Enums

ErrorKind

Wallet errors, mostly wrappers around underlying crypto or I/O errors.

Functions

combine_mnemonics

Combines shares into a master secret (e.g. BIP39 entropy)

from_hex

Decode a hex string into bytes.

generate_mnemonics

Generates shares from the provided master secret (e.g. BIP39 entropy)

generate_mnemonics_random

Generate a random master secret (e.g. BIP39 entropy) and returns the shares from it

to_hex

Encode the provided bytes into a hex string