Skip to main content

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 decrypt
  • password (string) - Password for decryption

Returns

  • Promise<any> - The decrypted key share

Example

Error Handling

Last modified on January 26, 2026