← Lab /Security & privacy

Praxis achieves practical witness encryption for NP with 7.88 GiB ciphertext at 100-bit security

Praxis provides a practical witness encryption scheme for arbitrary NP statements

Security & privacy arXiv 21 Nov 2026 Method Prototype evidence

Published as “Praxis: Practical Witness Encryption for NP”

Why it matters

Praxis makes witness encryption for arbitrary NP statements practically usable, enabling applications such as timelock encryption and key escrow without trusted parties.

Summary

Praxis achieves witness encryption for any NP statement with concrete 100-bit security parameters: its ciphertext is 7.88 GiB, encryption costs 234.2 base-field multiplications, and decryption with a Groth16 proof averages 233.0 multiplications. The scheme is provably extractable in the bilinear generic group and random oracle models under the Module-SIS assumption, and the authors provide Lean 4 formal proofs of correctness and extraction. Compared to the prior Hair-and-Sahai construction, Praxis reduces ciphertext size by over ten orders of magnitude and decryption cost by over six. However, the ciphertext remains large (several gigabytes) and decryption requires an exponential-in-λ search, albeit fast in practice. The evidence consists of detailed concrete cost analysis, security proofs, and a formal verification artifact.

What they found 1

  1. Concrete efficiency at 100-bit security: 7.88 GiB ciphertext, 234.2 multiplications for encryption, 233.0 for decryption with a proof.

    “at 100-bit security, its ciphertext is 7.88 GiB, encryption takes 234.2 base-field multiplications, and decryption with a Groth16 proof 233.0 on average.”

Caveats 3

  • Encryption needs about 12 GB of memory and decryption about 5 GB, with the ciphertext streamed rather than held (Section 6.3).
  • Decryption ends with a search for a secret integer in a short known range. While the rest of decryption takes time linear in N, the search is exponential in λ, but concretely fast.
  • This assumes an honest Groth16 setup, whose secret randomness would let whoever kept it decrypt every ciphertext made for that key.

What’s new here 4

  • Reduces ciphertext size from >10^11 GiB to 7.88 GiB for 100-bit security, a >10-order-of-magnitude improvement over prior constructions.
  • Supports encryption to any NP statement via a universal Groth16 verifier, using a single fixed key.
  • Provides extractable security proofs in the bilinear generic group and random oracle models under the Module-SIS assumption.
  • Formal verification of correctness and extraction theorems in Lean 4.