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

#571 in Cryptography

Download history 118/week @ 2025-03-15 13/week @ 2025-03-22 9/week @ 2025-03-29 22/week @ 2025-04-05 16/week @ 2025-04-12 7/week @ 2025-04-19 3/week @ 2025-04-26 13/week @ 2025-05-03 48/week @ 2025-05-10 210/week @ 2025-05-17 13/week @ 2025-05-24 675/week @ 2025-05-31 104/week @ 2025-06-07 2351/week @ 2025-06-14 1716/week @ 2025-06-21 73/week @ 2025-06-28

4,264 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
~109K SLoC