Function recover

Source
pub fn recover(
    entropy_seed: &[u8],
    encrypted_share_backup: &EncryptedShareBackup,
    identity_provider: &impl IdentityProvider,
) -> Result<(SigningShare, SubShare), ShareBackupRecoveryError>
Expand description

Given an entropy seed (i.e typically a standardized phrase), encrypted share backup (i.e an encrypted “signing share” and “sub-share”, and a random nonce) and an identity provider, returns the decrypted “signing share” and “sub-share”.

Ref: https://wamu.tech/specification#share-recovery-backup-decrypt.