#protocols #secret-key #crypto #client #oprf

ppoprf

Puncturable Partially-Oblivious Pseudo-Random Function

6 releases

new 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

#1524 in Cryptography

Download history 9/week @ 2024-11-20 6/week @ 2024-11-27 27/week @ 2024-12-04 21/week @ 2024-12-11 8/week @ 2025-02-05 55/week @ 2025-02-19 16/week @ 2025-02-26 10/week @ 2025-03-05

81 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
~107K SLoC