Function verifyAndDecryptWithSignatureShares

  • Verify and decrypt ciphertext using BLS signature shares.

    Returns

    base64-encoded string of the decrypted data

    Parameters

    • publicKey: string

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

    • identity: Uint8Array

      Uint8Array of the identity parameter used during encryption

    • ciphertext: string

      base64-encoded string of the ciphertext to decrypt

    • shares: BlsSignatureShare[]

      hex-encoded array of the BLS signature shares

    Returns Uint8Array

Generated using TypeDoc