Function Signature
Description
Decrypts an encrypted key share using the provided password. This function is used to recover key shares that were previously encrypted.Parameters
Required Parameters
keyShare(string) - The encrypted key share to decryptpassword(string) - Password for decryption
Returns
Promise<any>- The decrypted key share
Example
Error Handling
Related Functions
encryptKeyShare()- Encrypt a key shareexportExternalServerKeyShares()- Export external server key shares