#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

#419 in Cryptography

Download history 1341/week @ 2024-08-11 1748/week @ 2024-08-18 1537/week @ 2024-08-25 1296/week @ 2024-09-01 2361/week @ 2024-09-08 2317/week @ 2024-09-15 2441/week @ 2024-09-22 2162/week @ 2024-09-29 1907/week @ 2024-10-06 1568/week @ 2024-10-13 1289/week @ 2024-10-20 1492/week @ 2024-10-27 1427/week @ 2024-11-03 1302/week @ 2024-11-10 1435/week @ 2024-11-17 1463/week @ 2024-11-24

5,661 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.3–4MB
~86K SLoC