daxpedda 5ac52388ff Reduce allocations and some general code improvements (#26)
* Remove unnecessary paths

* Remove unnecessary conversion for `G::from_scalar_slice`

* Remove unnecessary allocations

* Return `GenericArray` from `get_context_string`

* Use `zip()` instead instead of indexing

* Changed `compute_composites` input to `Iterator`s

* Changed `generate_proof` input to `Iterator`s

* Changed `verify_proof` input to `Iterator`s

* Reduce allocations in `verifiable_unblind`

* Changed `verifiable_unblind` input to `Iterator`s

* Changed `batch_finalize` input to `Iterator`s
Removed `BatchFinalizeInput`

* Reduce allocations in `VerifiableClient::finalize`

* Changed `finalize_after_unblind` input to `Iterator`s

* Changed `batch_evaluate` input to `Iterator`s

* Reduce allocations in `evaluate`

* Changed `blind` input to `Into<Vec<u8>>`

* Remove note about `BatchFinalizeInput` from documentation

* Remove `Metadata`

* Changed `blind` input to `Vec<u8>`

* General improvements to test code

* Fix rustdoc

* Remove unnecessarily installed components
2021-10-12 15:07:47 -07:00
2021-09-09 01:56:54 -07:00
2021-09-29 18:19:32 -07:00
2021-09-09 01:56:54 -07:00
2021-09-27 18:53:06 -07:00
2021-09-09 01:56:54 -07:00
2021-09-27 18:53:06 -07:00
2021-09-09 01:56:54 -07:00
2021-09-28 19:44:57 -07:00

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 the Internet Draft for VOPRF.

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.1.0"

Minimum Supported Rust Version

Rust 1.51 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 licensed under either Apache 2.0 or MIT, at your option.

S
Description
An implementation of a verifiable oblivious pseudorandom function (RFC 9497) - fork of (https://github.com/facebook/voprf)
Readme
574 KiB
v1.0.0
Latest
2026-07-08 23:45:14 +02:00
Languages
Rust 100%