#protocols #crypto #oprf

ppoprf

Puncturable Partially-Oblivious Pseudo-Random Function

6 releases

0.4.2 Mar 14, 2025
0.4.1 Oct 11, 2024
0.4.0 Aug 27, 2024
0.3.1 Aug 8, 2023
0.2.1 Jul 19, 2023

#598 in Cryptography

Download history 8/week @ 2025-02-05 55/week @ 2025-02-19 16/week @ 2025-02-26 10/week @ 2025-03-05 183/week @ 2025-03-12 20/week @ 2025-03-19 2/week @ 2025-03-26 23/week @ 2025-04-02 17/week @ 2025-04-09

76 downloads per month
Used in 2 crates

MPL-2.0 license

41KB
980 lines

ppoprf

An implementation of the Puncturable Partially Oblivious Pseudorandom Function designed in https://arxiv.org/abs/2109.10074.


lib.rs:

This module defines the combined functionality for producing a puncturable partially oblivious pseudorandom function (PPOPRF) protocol. The protocol combines the PPOPRF of Tyagi et al. with the classic GGM puncturable PRF.

The result is a POPRF that can provide forward-security guarantees related to the pseudorandomness of client-side outputs, by allowing the puncturing of metadata tags from the server secret key. Such guarantees hold when clients reveal POPRF outputs for a metadata tag t, after t has been punctured from the secret key. This functionality is used to provide forward-secure randomness to clients in the STAR protocol.

Dependencies

~3.5–5MB
~108K SLoC