#verifiable #oblivious #client-server #protocols #rfc #oprf

no-std voprf

An implementation of a verifiable oblivious pseudorandom function (VOPRF)

18 releases

0.5.0 Mar 7, 2024
0.5.0-pre.6 Jul 25, 2023
0.5.0-pre.3 Mar 4, 2023
0.5.0-pre.1 Dec 19, 2022
0.3.0 Oct 26, 2021

#432 in Cryptography

Download history 1839/week @ 2024-07-06 2471/week @ 2024-07-13 2241/week @ 2024-07-20 1867/week @ 2024-07-27 2146/week @ 2024-08-03 1385/week @ 2024-08-10 1750/week @ 2024-08-17 1536/week @ 2024-08-24 1268/week @ 2024-08-31 2370/week @ 2024-09-07 2259/week @ 2024-09-14 2399/week @ 2024-09-21 2273/week @ 2024-09-28 1891/week @ 2024-10-05 1546/week @ 2024-10-12 1318/week @ 2024-10-19

7,432 downloads per month
Used in 7 crates (via opaque-ke)

MIT license

235KB
4.5K SLoC

voprf Build Status

An implementation of a (verifiable) oblivious pseudorandom function (VOPRF)

A VOPRF is a verifiable oblivious pseudorandom function, a protocol between a client and a server. The regular (non-verifiable) OPRF is also supported in this implementation.

This implementation is based on RFC 9497.

Documentation

The API can be found here along with an example for usage.

Installation

Add the following line to the dependencies of your Cargo.toml:

voprf = "0.5"

Minimum Supported Rust Version

Rust 1.65 or higher.

Contributors

The author of this code is Kevin Lewi (@kevinlewi). To learn more about contributing to this project, see this document.

License

This project is dual-licensed under either the MIT license or the Apache License, Version 2.0. You may select, at your option, one of the above-listed licenses.

Dependencies

~2.4–4MB
~88K SLoC