privacypass-ts: A TypeScript Library for the Privacy Pass Issuance Protocol

February 11, 2026 ยท View on GitHub

NPM NPM

NPM

privacypass-ts: A TypeScript Library for the Privacy Pass Issuance Protocol

Specification: Compliant with IETF RFC9578, draft-hendrickson-privacypass-public-metadata-03 and draft-ietf-privacypass-batched-tokens-06.

Support:

  • Public-Verifiable tokens (Blind-RSA)
  • Public-Verifiable tokens with Metadata (Partially-Blind-RSA)
  • Private-Verifiable tokens (VOPRF)
  • Generic tokens batched issuance

Usage:

We provide examples in the examples folder.

Limitations

  • Public-Verifiable tokens with Metadata verification is not supported in browser environments. This is due to @cloudflare/blindrsa-ts not supporting them.

Development

TaskNPM scripts
Installing$ npm ci
Building$ npm run build
Unit Tests$ npm run test
Examples$ npm run examples
Benchmarking$ npm run bench
Code Linting$ npm run lint
Code Formatting$ npm run format

License

The project is licensed under the Apache-2.0 License.