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 string
  • password (string) - Password for decrypting the key share

Returns

  • Promise<any> - The decrypted key share object

Example

Error Handling

Last modified on January 26, 2026