Sanjam Garg
Current Organizations / Institutes
The organizations/institutes from the scholar's latest article
Previous Organizations / Institutes
The organizations / institutes from the scholar's other articles in the past ten years
Research Subjects
Research Interests
Sanjam Garg has a total of 99 co-authors. Here are the top co-authors by number of shared publications:
- Mohammad Mahmoody
University of Virginia
9 shared publications Mohammad Hajiabadi
University of Waterloo
7 shared publicationsAkshayaram Srinivasan
University of California
6 shared publications- Abhishek Jain
NTT Research and Johns Hopkins University
5 shared publications - Mingyuan Wang
UC Berkeley
5 shared publications - Somesh Jha
University of Wisconsin - Madison, Madison, WI, USA
5 shared publications
Latest Publications
- Open Access
- 14 November 2026
- Published by Association for Computing Machinery (ACM)
- p. 4717-4731
How to Back Up High-Value Secret Keys
- 14 November 2026
- Published by Association for Computing Machinery (ACM)
- p. 4717-4731
Open AccessHow to Back Up High-Value Secret Keys
- Open Access
- 14 November 2026
- Published by Association for Computing Machinery (ACM)
- p. 1477-1491
BEAST-MEV: Batched Threshold Encryption with Silent Setup for MEV prevention
- 14 November 2026
- Published by Association for Computing Machinery (ACM)
- p. 1477-1491
Open AccessBEAST-MEV: Batched Threshold Encryption with Silent Setup for MEV prevention
- Open Access
- 14 November 2026
- Published by Association for Computing Machinery (ACM)
- p. 2999-3013
BABE: Verifying Proofs on Bitcoin Made 1000x Cheaper
- 14 November 2026
- Published by Association for Computing Machinery (ACM)
- p. 2999-3013
Open AccessBABE: Verifying Proofs on Bitcoin Made 1000x Cheaper
- Open Access
- 26 October 2026
- Published by International Association for Cryptologic Research in IACR Communications in Cryptology
- Vol. 3 (3)
Insta-Pok3r: Real-time On-Chain Poker
We develop a distributed service for generating correlated randomness (e.g. permutations) for multiple parties, where each party's output is private but the computation is publicly verifiable. This service provides users with a low-cost publicly verifiable way to play on-chain poker in real-time, without a trusted party. Our privacy-preserving service is backed by a committee of compute providers, who run a multi-party computation (MPC) protocol to produce an (identity-based) encrypted permutation of a deck of cards, in an offline phase well ahead of when players' identities are known. When the players join, what we call the online phase, they decrypt their designated cards immediately after deriving the identity-based decryption keys, a much simpler computation. The MPC protocol also generates a publicly-verifiable proof that the output is a permutation – this is achieved by applying collaborative SNARK techniques by Ozdemir and Boneh [Usenix Sec'22]. In our construction, we introduce a new notion of succinctly verifiable multi-identity-based encryption (SVME), which extends the existing notion of verifiable encryption to a multi-identity-based setting, but with a constant-sized proof – this may be of independent interest. We instantiate this for a permutation relation (defined over a small set) along with identity-based encryption, polynomial commitments, and succinct proofs – our choices are made to enable a distributed computation when the card deck is always secret-shared. Moreover, we design a new protocol to efficiently generate a secret-sharing of random permutation of a small set, which is run prior to distributed SVME. We offer a rigorous UC-based formalization in a highly modularized fashion. Finally, we demonstrate practicality with an implementation that shows that for 8 MPC parties, generating a secret publicly verifiable permutation of 52 cards offline takes under 3 seconds, while accessing cards for a player takes under 0.3 seconds. When playing over a smart contract, a player incurs at most 200 gas units for each hand of two cards ( 0.002 o n A p t o s a t t h e t i m e o f w r i t i n g ) . A s h u f f l i n g s e r v i c e w i t h 8 n o d e s i n c u r s 0.0015 in cloud compute fees to produce a shuffled deck of 52 cards.
- 26 October 2026
- Published by International Association for Cryptologic Research in IACR Communications in Cryptology
- Vol. 3 (3)
Open AccessInsta-Pok3r: Real-time On-Chain Poker
We develop a distributed service for generating correlated randomness (e.g. permutations) for multiple parties, where each party's output is private but the computation is publicly verifiable. This service provides users with a low-cost publicly verifiable way to play on-chain poker in real-time, without a trusted party. Our privacy-preserving service is backed by a committee of compute providers, who run a multi-party computation (MPC) protocol to produce an (identity-based) encrypted permutation of a deck of cards, in an offline phase well ahead of when players' identities are known. When the players join, what we call the online phase, they decrypt their designated cards immediately after deriving the identity-based decryption keys, a much simpler computation. The MPC protocol also generates a publicly-verifiable proof that the output is a permutation – this is achieved by applying collaborative SNARK techniques by Ozdemir and Boneh [Usenix Sec'22]. In our construction, we introduce a new notion of succinctly verifiable multi-identity-based encryption (SVME), which extends the existing notion of verifiable encryption to a multi-identity-based setting, but with a constant-sized proof – this may be of independent interest. We instantiate this for a permutation relation (defined over a small set) along with identity-based encryption, polynomial commitments, and succinct proofs – our choices are made to enable a distributed computation when the card deck is always secret-shared. Moreover, we design a new protocol to efficiently generate a secret-sharing of random permutation of a small set, which is run prior to distributed SVME. We offer a rigorous UC-based formalization in a highly modularized fashion. Finally, we demonstrate practicality with an implementation that shows that for 8 MPC parties, generating a secret publicly verifiable permutation of 52 cards offline takes under 3 seconds, while accessing cards for a player takes under 0.3 seconds. When playing over a smart contract, a player incurs at most 200 gas units for each hand of two cards ( 0.002 o n A p t o s a t t h e t i m e o f w r i t i n g ) . A s h u f f l i n g s e r v i c e w i t h 8 n o d e s i n c u r s 0.0015 in cloud compute fees to produce a shuffled deck of 52 cards.
- 5 December 2025
- Published by Springer Nature
- p. 205-224
Black-Box Crypto Is Useless for Pseudorandom Codes
- 5 December 2025
- Published by Springer Nature
- p. 205-224
Black-Box Crypto Is Useless for Pseudorandom Codes
- Open Access
- 17 August 2025
- Published by Springer Nature
- p. 504-539
A Framework for Witness Encryption from Linearly Verifiable SNARKs and Applications
- 17 August 2025
- Published by Springer Nature
- p. 504-539
Open AccessA Framework for Witness Encryption from Linearly Verifiable SNARKs and Applications
- Open Access
- 17 August 2025
- Published by Springer Nature
- p. 396-428
Malicious Security in Collaborative zk-SNARKs: More than Meets the Eye
- 17 August 2025
- Published by Springer Nature
- p. 396-428
Open AccessMalicious Security in Collaborative zk-SNARKs: More than Meets the Eye
- Top Cited PapersOpen Access
- 13 January 2025
- Published by International Association for Cryptologic Research in IACR Communications in Cryptology
- Vol. 1 (4)
Publicly-Detectable Watermarking for Language Models
We present a publicly-detectable watermarking scheme for LMs: the detection algorithm contains no secret information, and it is executable by anyone. We embed a publicly-verifiable cryptographic signature into LM output using rejection sampling and prove that this produces unforgeable and distortion-free (i.e., undetectable without access to the public key) text output. We make use of error-correction to overcome periods of low entropy, a barrier for all prior watermarking schemes. We implement our scheme and find that our formal claims are met in practice.
- 13 January 2025
- Published by International Association for Cryptologic Research in IACR Communications in Cryptology
- Vol. 1 (4)
Top Cited PapersOpen AccessPublicly-Detectable Watermarking for Language Models
We present a publicly-detectable watermarking scheme for LMs: the detection algorithm contains no secret information, and it is executable by anyone. We embed a publicly-verifiable cryptographic signature into LM output using rejection sampling and prove that this produces unforgeable and distortion-free (i.e., undetectable without access to the public key) text output. We make use of error-correction to overcome periods of low entropy, a barrier for all prior watermarking schemes. We implement our scheme and find that our formal claims are met in practice.