- Deduplicate serialization with impl_serde_scalar, impl_serde_elem, and impl_serde_scalar_elem macros - Move finalize_after_unblind to common.rs, shared by OPRF and VOPRF - Add shared test helpers (test_all_curves macro, prf function) - Update dependencies to stable releases Reviewed-on: #12 Co-authored-by: UneBaguette <[email protected]> Co-committed-by: UneBaguette <[email protected]>
voprf
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-vx = "1.0.0"
Minimum Supported Rust Version
Rust 1.87 or higher.
Contributors
This is a fork of facebook/voprf maintained by VexaHub.
The original author 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.