AppleSauce
    Preparing search index...

    Function unlockEncryptedContent

    • Unlocks the encrypted content in an event and caches it

      Type Parameters

      • T extends { content: string; kind: number }

      Parameters

      • event: T

        The event with content to decrypt

      • pubkey: string

        The other pubkey that encrypted the content

      • signer: EncryptedContentSigner

        A signer to use to decrypt the content

      Returns Promise<string>