#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

#533 in Cryptography

Download history 1584/week @ 2024-08-21 1367/week @ 2024-08-28 1595/week @ 2024-09-04 2397/week @ 2024-09-11 2482/week @ 2024-09-18 2590/week @ 2024-09-25 1422/week @ 2024-10-02 2358/week @ 2024-10-09 1176/week @ 2024-10-16 1342/week @ 2024-10-23 1720/week @ 2024-10-30 1305/week @ 2024-11-06 1203/week @ 2024-11-13 1915/week @ 2024-11-20 969/week @ 2024-11-27 843/week @ 2024-12-04

5,444 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