cloudflare / voprf-ts

A TypeScript library for Oblivious Pseudorandom Functions
BSD 3-Clause "New" or "Revised" License
28 stars 12 forks source link

Leave packeting to application layer #51

Closed sublimator closed 10 months ago

sublimator commented 1 year ago

I suggest leaving packeting (how to combine the serialized OPRF items) to the application layer

per: https://github.com/cloudflare/privacypass-ts/pull/15#discussion_r1366739533 per: https://github.com/cloudflare/privacypass-ts/pull/15#discussion_r1357809762

PrivacyPass shouldn't really need to work with "wet" Eval/EvalReq/DLEQProof objects. It wouldn't even need the DLEQ params at all if this were the case.