---
title: "Open-sourcing Anonymous Credential Service"
description: "Anonymous Credential Service (ACS) lets clients authenticate without revealing identity by splitting authentication into token issuance over an authenticated channel and token redemption over a de-identified channel, using verifiable oblivious pseudorandom functions (VOPRFs) and blind signatures."
url: "https://swe.quest/articles/open-sourcing-anonymous-credential-service-83bd56402e747934"
canonical: "https://engineering.fb.com/2022/12/12/security/anonymous-credential-service-acs-open-source/"
source: "Meta Engineering"
published: "2022-12-12"
difficulty: "hard"
kind: "Deep dive"
reading_minutes: 9
tags: ["cryptography","privacy","identity-auth","open-source"]
---

# Open-sourcing Anonymous Credential Service

A post on [Meta Engineering](https://swe.quest/sources/meta.md), published 2022-12-12, 9 min read, Deep dive. Original: [https://engineering.fb.com/2022/12/12/security/anonymous-credential-service-acs-open-source/](https://engineering.fb.com/2022/12/12/security/anonymous-credential-service-acs-open-source/)

## Summary

Anonymous Credential Service (ACS) lets clients authenticate without revealing identity by splitting authentication into token issuance over an authenticated channel and token redemption over a de-identified channel, using verifiable oblivious pseudorandom functions (VOPRFs) and blind signatures. Running it at scale requires capped redemption counts, frequent key rotation, and key transparency. Attribute-based key derivation, for example deriving keys per use case and time epoch from a single primary public key, plus discrete-log proofs stop a malicious server from assigning user-specific keys. The open-sourced C library depends only on libsodium, supports Ed25519 and Ristretto, recommends SDHI or Naor-Reingold KDFs, and ships with a Thrift-based demo service.

Written by swe.quest, not by the author.

**Difficulty:** Hard: written for specialists in the field

## Topics

- [Cryptography](https://swe.quest/tags/cryptography.md) (Security)
- [Privacy](https://swe.quest/tags/privacy.md) (Security)
- [Identity & auth](https://swe.quest/tags/identity-auth.md) (Security)
- [Open source](https://swe.quest/tags/open-source.md) (Engineering practices)

## Prerequisites

- public-key cryptography ([easy posts on Cryptography](https://swe.quest/tags/cryptography.md?difficulty=easy))
- elliptic curve basics
- blind signatures

## Keywords

Anonymous Credential Service, VOPRF, libsodium, Ristretto, Ed25519, Apache Thrift, DIT

## Related posts

- [How Meta enables de-identified authentication at scale](https://swe.quest/articles/how-meta-enables-de-identified-authentication-at-scale-aba1c4d5d1b717ac.md): Meta Engineering · 2022-03-30 · Medium · 8 min read · Privacy, Cryptography, Identity & auth, Multi-tenancy, Scaling
  Meta's Anonymous Credential Service (ACS) authenticates clients without user IDs by splitting authentication into token issuance over an authenticated channel and unlinkable token redemption over an anonymous channel, built on VOPRFs and blind signatures with an HMAC over business data keyed by a shared secret.
- [PACT: Anonymous Credentials for the Web](https://swe.quest/articles/pact-anonymous-credentials-for-the-web-cc43397c557e8790.md): Mozilla Hacks · 2026-06-23 · Hard · 17 min read · Cryptography, Privacy, Threat detection, Browsers, Identity & auth
  PACT (Private Access Control Tokens) is a proposed design for privacy-preserving rate limiting on the open web, letting sites block volumetric bot abuse without demanding identity or hardware attestation.
- [DIT — enabling de-identified data collection on WhatsApp](https://swe.quest/articles/dit-enabling-de-identified-data-collection-on-whatsapp-d2473df44a648273.md): Meta Engineering · 2021-04-16 · Hard · 8 min read · Privacy, Cryptography, Observability, Identity & auth
  WhatsApp's De-identified Telemetry (DIT) collects usage, reliability and performance data without linking it to a user.
- [Deploying key transparency at WhatsApp](https://swe.quest/articles/deploying-key-transparency-at-whatsapp-0e23deb403e7d86e.md): Meta Engineering · 2023-04-13 · Medium · 9 min read · Cryptography, Communications, Rust, Security
  WhatsApp now automatically verifies end-to-end encryption keys using key transparency: the server maintains an append-only Auditable Key Directory (AKD) mapping accounts to public keys, and every change emits a privacy-preserving audit proof to public storage that anyone can verify.
- [The post-quantum future of web privacy](https://swe.quest/articles/the-post-quantum-future-of-web-privacy-4a158945977ff986.md): Cloudflare · 2026-11-06 · Hard · 19 min read · Cryptography, Privacy, Identity & auth
  Privacy Pass tokens rely on RSA and elliptic curves, so a quantum attacker could forge them, but redemption remains unconditionally unlinkable even after Q-day.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
