Module share

Source
Expand description

Module containing code related to the SSS secret sharing scheme

Structs§

GeneratedShares
Contains all the shares generated by splitting a secret
Share
A share that can be used with other Share to construct the secret.

Enums§

ShareError
Error produced when working with Share objects.

Functions§

create_shares_from_mnemonic
Creates shares from a [Mnemonic] that can be resolved into a [Mnemonic] again when reconstructed.
reconstruct_mnemonic
Reconstruct a [Mnemonic] from the shares. Can be used to initialize a wallet using the [iota_sdk::client::secret::mnemonic::MnemonicSecretManager::try_from_mnemonic] function.