---
title: "Cryptographic Accumulator — definition | Nuri Glossary"
description: "A compact structure proving an item belongs to a set without revealing the other members."
lang: "en"
type: "glossary-term"
canonical: "https://nuri.com/glossary/cryptographic-accumulator"
---

# Cryptographic Accumulator

A compact structure proving an item belongs to a set without revealing the other members.

## Basically

A cryptographic accumulator turns a set into one short value. It lets you prove that an item belongs without revealing the whole set.

## Key Takeaways

- A cryptographic accumulator compresses an entire set into a single short value called a digest. Anyone can verify whether a specific element belongs to the set using a compact proof called a witness, without needing the full set.
- The three main types are hash-based accumulators, including Merkle trees, RSA accumulators, and bilinear or pairing-based accumulators. Each offers different trade-offs between proof size, security assumptions, and setup requirements.
- In Bitcoin, accumulators enable proposals like Utreexo, which compresses the UTXO set from gigabytes to under one kilobyte. This makes it dramatically easier to run a fully validating node.

## What Is a Cryptographic Accumulator?

A cryptographic accumulator represents a large set of elements as a single, fixed-size value. It produces a short digest instead of storing every element, together with compact proofs called witnesses that verify whether a particular element belongs to the set. Josh Benaloh and Michael de Mare introduced the concept in 1993, defining a one-way accumulator as a family of hash functions with a quasi-commutative property: the order in which elements are accumulated does not change the final digest.
A club membership card offers a useful analogy: it proves you belong to a club without the club publishing its entire membership list. The accumulator is the club's seal, and your witness proves that the seal was applied to your name.
Accumulators are classified along two axes: static versus dynamic, meaning whether elements can be added or removed after initial creation, and membership-only versus universal, meaning whether they support proofs that an element is not in the set. Dynamic universal accumulators are the most powerful variant. They support additions, deletions, membership proofs, and non-membership proofs.

## How It Works

Every accumulator scheme consists of four core operations. Together, these operations define how the scheme works.
The security guarantee requires it to be computationally infeasible to produce a valid witness for any element outside the set. This property is called collision-freeness or soundness, and the specific assumption behind it varies by accumulator type.

## Hash-Based Accumulators

The Merkle tree is the most widely used accumulator in practice. Each leaf holds a hash of a set element, each internal node holds the hash of its two children, and the Merkle root serves as the accumulator digest.
A Merkle proof, or membership witness, consists of the sibling hashes along the path from the target leaf to the root. Verification recomputes the hashes upward and checks that the result matches the known root.
Hash-based accumulators require no trusted setup and rely only on collision-resistant hash functions, making them post-quantum secure. Their trade-off is that proof sizes grow logarithmically with the number of elements.

## RSA Accumulators

RSA accumulators were formalised by Barić and Pfitzmann in 1997 under the strong RSA assumption, and they achieve constant-size proofs regardless of set size. The construction maps each element to a distinct prime number and exponentiates a generator by the product of all primes.
The accumulator digest and each witness are both a single group element, roughly 256 bytes with a 2048-bit modulus, whether the set contains 100 or 100 million elements. RSA accumulators require a trusted setup to generate the modulus N, since knowing its factorization would allow forged witnesses. Research by Lipmaa (2012) and Boneh, Bünz, and Fisch (2019) showed that class groups of imaginary quadratic orders can avoid this requirement by providing groups of unknown order without a trusted party.

## Bilinear Accumulators

Bilinear, or pairing-based, accumulators were introduced by Nguyen in 2005 and use elliptic curve pairings to achieve constant-size proofs with verification requiring only a small number of pairing operations. Each element is encoded as a root of a polynomial, and the accumulator value is the polynomial evaluated "in the exponent" using a structured reference string from a trusted setup.
Bilinear accumulators natively support both membership and non-membership proofs through polynomial division techniques. They are secure under the q-Strong Diffie-Hellman assumption but are not quantum-resistant, since pairings rely on the hardness of discrete logarithms.

## Bitcoin UTXO Compression with Utreexo

The most significant Bitcoin application of accumulators is Utreexo, proposed by Tadge Dryja at MIT's Digital Currency Initiative in 2019. Bitcoin full nodes must store the entire UTXO set to validate transactions. With over 150 million unspent outputs, this consumes several gigabytes of storage and creates a barrier to running a node.
Utreexo replaces the full UTXO set with a forest of perfect binary Merkle trees, decomposing the set size into powers of two, its binary representation, with one tree for each set bit. For example, 13 UTXOs produce three trees of sizes 8, 4, and 1, while a Utreexo node stores only the roots: roughly 27 hashes of 32 bytes each for the current UTXO set, fitting under one kilobyte. The Utreexo node scaling research explores how this affects node scalability.
The trade-off is bandwidth: transactions must carry Merkle inclusion proofs for every input they spend. Bridge nodes, which are full nodes maintaining the complete tree structure, generate these proofs on behalf of Utreexo nodes. As of 2025, three draft BIPs have been submitted and a working implementation, utreexod, exists as a fully validating Bitcoin node.

## Stateless Blockchain Validation

Accumulators also enable stateless validation beyond Utreexo, allowing nodes to store only the accumulator digest instead of the full blockchain state. Each transaction includes witnesses proving that its inputs exist in the current state. Boneh, Bünz, and Fisch (2019) showed how RSA accumulators with proof aggregation could reduce the storage requirement for consensus nodes to constant size, regardless of the number of accounts or outputs in the system.
Ethereum is pursuing a related approach with Verkle trees. Verkle trees combine vector commitments with tree structures to achieve smaller witnesses than standard Merkle proofs while maintaining practical performance.

## Zero-Knowledge Proofs and Privacy

Accumulators are a core building block in privacy-preserving protocols. In zero-knowledge proof systems, a prover can demonstrate that a secret value belongs to an accumulated set without revealing which element it is. The pattern powers several applications:
Zero-knowledge techniques also apply to Bitcoin. See the zero-knowledge proofs in Bitcoin research for more detail.

## Certificate and Credential Revocation

Dynamic accumulators provide efficient revocation checking. Instead of downloading a full certificate revocation list, a verifier checks a constant-size accumulator and witness. When a certificate is revoked, it is removed from the accumulator, and existing witnesses can be updated without reissuing credentials to all holders.

## Why It Matters

Cryptographic accumulators address a fundamental scaling challenge in decentralized systems: how to verify state without storing all of it. As blockchains grow, the state that nodes must maintain, such as the UTXO set in Bitcoin and account balances in Ethereum, becomes a barrier to decentralization. Accumulators compress this state to a fixed-size digest while preserving any participant's ability to prove facts about it.
Bitcoin layer-2 protocols like Spark can use accumulators for efficient proofs about sets of off-chain outputs. Any system managing large sets of commitments, balances, or virtual UTXOs benefits from accumulator techniques that reduce proof sizes and verification costs.

## Trusted Setup Requirements

RSA and bilinear accumulators typically require a trusted setup ceremony. If the secret parameters, meaning the RSA factorization or the structured reference string, are compromised, an attacker can forge membership proofs for elements outside the set. Techniques like class groups eliminate trusted setup for RSA-style accumulators, but they introduce additional computational overhead and less mature implementations.

## Witness Update Costs

Dynamic accumulator witnesses may need updates when elements are added or removed. RSA accumulators require modular exponentiations proportional to the number of changes since the witness was created, so keeping witnesses current can become expensive in large, frequently changing sets. Batching updates and distributing the computation to dedicated service nodes, such as Utreexo's bridge nodes, are common mitigations.

## Quantum Vulnerability

RSA and bilinear accumulators rely on number-theoretic assumptions, specifically integer factorization and discrete logarithms, that are vulnerable to quantum computers via Shor's algorithm. Only hash-based accumulators, meaning Merkle trees, are considered post-quantum secure. This makes Merkle-based approaches like Utreexo more future-resistant, even though their proofs are larger than algebraic alternatives.

## Proof Size vs. Assumption Tradeoff

Proof compactness creates an inherent tension with the strength of the required assumptions. Merkle trees use the simplest assumptions, collision-resistant hashing, and no trusted setup, but their proofs grow logarithmically; RSA and bilinear accumulators achieve constant proof sizes with stronger cryptographic assumptions and, typically, a trusted setup. The right choice depends on the application: on-chain verification where every byte costs fees favours constant-size proofs, while systems that can tolerate logarithmic overhead benefit from the simplicity and quantum resilience of hash-based schemes.
The glossary entry is for informational purposes only and does not constitute financial or investment advice. Always do your own research before using any protocol or technology.
Part of the [Nuri glossary](https://nuri.com/glossary), which defines 1876 Bitcoin, Lightning, wallet, stablecoin and payment terms.
