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

ppoprf

Puncturable Partially-Oblivious Pseudo-Random Function

3 unstable releases

0.3.1 Aug 8, 2023
0.3.0 Aug 1, 2023
0.2.1 Jul 19, 2023

#1832 in Cryptography

Download history 75/week @ 2024-01-01 24/week @ 2024-01-08 33/week @ 2024-01-15 4/week @ 2024-01-29 72/week @ 2024-02-12 17/week @ 2024-02-19 199/week @ 2024-02-26 44/week @ 2024-03-04 40/week @ 2024-03-11 23/week @ 2024-03-18 39/week @ 2024-03-25 61/week @ 2024-04-01

167 downloads per month
Used in 2 crates

MPL-2.0 license

38KB
931 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
~110K SLoC