decrypt_contest_entry
Decrypt a contest entry locally with the poster key pair, using an encrypted envelope or an IPFS CID; the private key never leaves the process.
Instructions
Decrypt a contest entry locally with the poster key pair. Give either entryCid (the ciphertext is fetched from IPFS, see get_contest) or the envelope itself. The private key stays in this process and is never pinned or sent to an RPC, but it does appear in this call, so use a key made for this contest.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entry | No | The encrypted entry envelope as produced by encrypt_contest_entry. | |
| entryCid | No | The entry CID from get_contest, whose content is the encrypted envelope. Format: ipfs://<cid> or a bare CID, 1-96 characters. | |
| publicKey | Yes | The poster public key (the one published in the contest description). | |
| privateKey | Yes | The matching poster private key from generate_contest_keypair. |