Works best when
- Decryption authority must be distributed across independent operators so no single party can unilaterally expose private inputs.
- Every cryptographic operation (key generation, share publication, decryption) must be publicly verifiable on-chain.
- Misbehavior by committee members must be cryptographically detectable and provable for slashing or dispute resolution.
Avoid when
- A single trusted key holder is acceptable. Use simpler asymmetric encryption.
- On-chain verification cost (gas) is prohibitive for the target deployment.
- The committee is small and fully trusted; PVSS and on-chain verification add complexity without proportional benefit.
I2I vs I2U — context differences
Institution to institution
I2IInstitutions gain auditable proof that no single operator could have decrypted inputs or outputs prematurely. On-chain verification artefacts serve as compliance records and shared evidence in bilateral disputes.
Institution to end user
I2UEnd users are protected by the same k-of-n threshold as institutions: no single node can decrypt their input, and any attempt is provable on-chain. The guarantee degrades to that of a single trusted key holder if the operator set is captured.
Post-quantum exposure
Risk · low- Vector
- The PVSS scheme is lattice-based and quantum-safe. The proving layer (Noir/Barretenberg/UltraHonk) uses pairing-based cryptography and would need migration to a quantum-safe proving system; this is expected well before any quantum threat materializes.
- Mitigation
- Migrate the proving layer to a quantum-safe proof system when available. Encrypted state itself is not vulnerable.
Components
- Publicly Verifiable Secret Sharing (PVSS): Each committee member publishes an encrypted key share along with a zero-knowledge proof that the share is correctly formed, so any observer can verify share validity without trusting the publisher.
- Distributed Key Generation (DKG) protocol: Committee members jointly produce a shared public key through rounds of PVSS exchanges. No party ever holds the full private key.
- On-chain DKG verifier: A smart contract or verifier contract that validates the aggregated DKG proof (e.g., a Noir circuit verifying that the published public key was correctly derived from valid PVSS shares).
- Threshold decryption aggregator: Collects decryption shares from committee members (each with a per-share zero-knowledge proof of correctness), aggregates them into the plaintext result once the threshold is met, and submits the aggregated proof on-chain.
- On-chain decryption verifier: Validates the aggregated decryption proof, confirming that a threshold of valid shares was used to produce the claimed plaintext.
- Slashing / dispute mechanism: Economic penalties triggered by on-chain proof of misbehavior (invalid shares during DKG, invalid decryption shares, provable premature decryption).
Protocol
- operator Committee members are selected (via sortition, governance, or explicit delegation).
- operator Each member generates a PVSS share and publishes it with a zero-knowledge proof of correctness. Shares are aggregated into the committee public key.
- contract The DKG verifier validates the aggregated proof on-chain and records the published public key.
- user Data providers encrypt inputs to the committee public key and submit ciphertexts with proofs of valid encryption.
- operator Computation runs over encrypted inputs; a ciphertext output is produced and published.
- operator Each committee member produces a decryption share with a per-share zero-knowledge proof; shares are aggregated once the threshold is met.
- contract The decryption verifier validates the aggregated proof on-chain and publishes the plaintext output. Any invalid or missing shares are cryptographically identifiable for slashing.
Guarantees & threat model
Guarantees:
- No single point of decryption: fewer than k committee members cannot decrypt, even if the rest collude.
- Public verifiability: every share (DKG and decryption) carries a zero-knowledge proof; invalid shares are detectable by any observer without trusting the publisher.
- Provable misbehavior: premature decryption, invalid shares, or refusal to decrypt leave on-chain evidence suitable for slashing or dispute resolution.
- Auditability: the full chain of cryptographic operations, from DKG to decryption, is anchored on-chain and independently verifiable.
Threat model:
- Honest-threshold assumption: if k or more members collude, they can decrypt. Economic penalties and diverse operator selection raise the cost of collusion but do not remove the assumption.
- Liveness: if fewer than k members are online, decryption stalls. Timeouts with refund or failure fallbacks are required.
- ZK circuit soundness: a bug in the DKG or decryption verifier circuits could allow invalid shares to pass verification. Formal verification and audits are the primary mitigations.
- Metadata leakage: transaction volume, timing, and committee membership are observable on-chain regardless of encryption.
Trade-offs
- On-chain verification cost: every DKG and decryption round incurs gas for proof verification. Circuit optimisation and proof aggregation (e.g., folding schemes) reduce but do not eliminate this cost.
- Coordination latency: DKG requires multiple rounds of PVSS exchange across committee members, adding latency before the input window can open.
- Committee management overhead: operator registration, sortition, bond management, and exit queues add protocol complexity beyond the cryptographic layer.
- Failure modes: DKG timeout, insufficient committee members, invalid shares detected mid-protocol. All require fallback states and refund logic in the coordinating contract.
- Post-quantum: the encryption layer (PVSS) is lattice-based and quantum-safe. The proving layer (Noir/Barretenberg/UltraHonk) relies on pairing-based cryptography and would need migration to a quantum-safe proof system. No other layer does. That migration is expected well before any quantum threat materializes.
Example
A sealed-bid auction protocol requests a committee of 5 nodes with a threshold of 3 for decryption. The nodes run PVSS-based DKG and publish their shares on-chain; the DKG verifier contract confirms correctness. Bidders encrypt their bids to the published public key and submit them during the input window. After the auction logic runs over encrypted bids (via FHE or zkVM), each node produces a decryption share of the output with a per-share zero-knowledge proof. Once 3 valid shares are aggregated, the decryption verifier confirms the result and publishes the winning price on-chain. A node that submitted an invalid share during DKG or decryption is provably at fault and slashed.