Function verifyAndDecryptWithSignatureShares

Verify and decrypt ciphertext using BLS signature shares.

  • Parameters

    • publicKeyHex: string

      hex-encoded string of the BLS public key to verify with

    • identity: Uint8Array

      Uint8Array of the identity parameter used during encryption

    • ciphertextBase64: string

      base64-encoded string of the ciphertext to decrypt

    • shares: BlsSignatureShare[]

      hex-encoded array of the BLS signature shares

    Returns Promise<Uint8Array>

    base64-encoded string of the decrypted data