← Latest papers
💻 computer science

Compact and Selective Disclosure for Verifiable Credentials

This paper introduces CSD-JWT, an open-source mechanism that leverages cryptographic accumulators to enable compact and selective disclosure of Verifiable Credentials, significantly reducing memory usage and network overhead for resource-constrained devices within Self-Sovereign Identity systems.

Original authors: Alessandro Buldini, Carlo Mazzocca, Rebecca Montanari, Selcuk Uluagac

Published 2026-03-25
📖 4 min read☕ Coffee break read

Original authors: Alessandro Buldini, Carlo Mazzocca, Rebecca Montanari, Selcuk Uluagac

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you have a digital backpack (your Self-Sovereign Identity) filled with important documents: your driver's license, your health records, your university degree, and your bank statements.

In the old days, if you wanted to prove you were old enough to buy alcohol, you had to hand over your entire wallet. The cashier would see your address, your birth date, your eye color, and your home address, even though they only needed to know you were over 21. This is a privacy nightmare.

To fix this, we invented Verifiable Credentials (VCs). These are like digital ID cards that let you show only the specific fact you need (e.g., "Over 21") without showing the rest of the card.

However, the current best method for doing this (called SD-JWT) has a hidden flaw: It's bulky and leaks secrets.

The Problem: The "Bulky Envelope"

Think of the current method (SD-JWT) like sending a letter where you want to reveal only one sentence. To prove the letter is real, you have to include a sealed, locked envelope for every single sentence in the original document, even the ones you aren't showing.

  • If your document has 100 sentences, you have to carry 100 locked envelopes.
  • If you only want to show 1 sentence, you still have to carry all 100 envelopes in your pocket.
  • The Leak: By counting the envelopes, a sneaky observer can guess how many sentences were in the original document. If you only show 1 envelope, they know you hid 99 others. They might guess, "Oh, they must have a secret health condition!" just because they know you hid a lot.

This is a disaster for tiny devices like hardware wallets (the size of a USB stick) or smart sensors (IoT devices) that have very little memory. Carrying 100 envelopes is too heavy for them.

The Solution: The "Magic Summary Box" (CSD-JWT)

The authors of this paper propose a new method called CSD-JWT. Instead of carrying a separate locked envelope for every sentence, they use a Cryptographic Accumulator.

Here is the analogy:
Imagine you have a Magic Summary Box.

  1. The Issuer (The Government/University): They take all 100 sentences of your document and crush them into a single, tiny, unbreakable Magic Stone. This stone represents the entire document.
  2. The Proof: For every single sentence you might want to show later, the Issuer gives you a tiny Golden Key (called a "witness").
  3. The Result: You don't carry 100 envelopes. You carry one Magic Stone and a small pile of Golden Keys.

How It Works in Real Life

Let's say you want to prove you are over 21, but you don't want to show your address.

  1. The Old Way (SD-JWT): You hand over the "Over 21" sentence, plus 99 other sealed envelopes for the hidden info. The total weight is huge. The verifier sees you hid 99 things.
  2. The New Way (CSD-JWT):
    • You hand over the Magic Stone (which proves the whole document is real).
    • You hand over one Golden Key for the "Over 21" sentence.
    • The verifier uses the Key to "unlock" that specific sentence and checks it against the Stone.
    • The Magic: The Stone is the same size whether you have 1 sentence or 1,000. The verifier cannot tell how many sentences are hidden inside the Stone. They only see the one you chose to show.

Why This is a Big Deal

The paper tested this on a tiny computer chip (like the ones in hardware wallets) and found amazing results:

  • Massive Space Savings: It saves up to 46% of memory. For a device with a tiny brain, this is like clearing out half your closet.
  • Super Fast & Small Data: When you send your ID to a website, the message is 27% to 93% smaller.
    • Example: If you have 100 facts and only show 1, the new method sends a message that is 93% smaller than the old method.
  • Better Privacy: Because the "Magic Stone" doesn't change size based on how many secrets you hide, no one can guess how much private info you have. It stops "inference attacks" (guessing your secrets by counting your hidden items).

The Bottom Line

CSD-JWT is like upgrading from a heavy, clunky suitcase full of locked boxes to a sleek, magic briefcase.

  • It fits in your pocket (perfect for tiny devices).
  • It keeps your secrets safe (you only show what you want).
  • It hides the number of your secrets (so no one can guess what you're hiding).

This makes the future of digital identity much more practical for everyone, especially for the tiny, secure devices we use to protect our most valuable data.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →