@cloudflare/privacypass-ts
TypeScript icon, indicating that this package has built-in type declarations

0.6.0 • Public • Published

NPM NPM

NPM

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

Specification: Compliant with IETF draft-ietf-privacypass-protocol, draft-hendrickson-privacypass-public-metadata-03 and tests vectors match with draft v11.

Support:

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

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

Task NPM 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.

/@cloudflare/privacypass-ts/

    Package Sidebar

    Install

    npm i @cloudflare/privacypass-ts

    Weekly Downloads

    995

    Version

    0.6.0

    License

    Apache-2.0

    Unpacked Size

    126 kB

    Total Files

    31

    Last publish

    Collaborators

    • lerwincf
    • lbarthonet
    • cf-media-manager
    • jacobbednarz
    • celso
    • cf-radar
    • dash_service_account
    • g4brym
    • snigdha34
    • wrangler-publisher
    • marksteyn
    • chiminator
    • sgoodhew_cf
    • terinjokes
    • third774
    • jsteinberger
    • jasnell
    • asapzacy
    • pcostanzo
    • gregbrimble
    • geelen
    • rexscaria
    • dcruz_cf
    • xuranwang
    • jculvey
    • sejoker
    • vasturiano
    • cf-ci-write
    • segments-write
    • thibmeu
    • xortive
    • gurjinder
    • cf-ci2
    • lvalenta
    • worenga