#cryptography #mpc #dpf

nightly dpf

A crate for the management of Distributed Point Functions

2 unstable releases

Uses new Rust 2021

new 0.2.0 Sep 27, 2022
0.1.0 Sep 11, 2022

#815 in Cryptography

41 downloads per month

MIT license

608 lines

Distributed Point Function

This crate gives the basic functionality of a cryptographic distributed point function, a cryptographic construction first proposed by Gilboa and Ishai [GI14] and later improved by Boyle, Gilboa and Ishai [BGI16].

With this primitive a unit vector $\vec{e}$ of size $N$ (that is, a vector with zeros in all coordinates except for a single coordinate) can be additively secret shared between two parties such that each share can be described using a key of size $\log N$ while merely assuming the existance of one-way-functions.

Bug Reporting and Feature Request

In case you find a bug or have an extra feature in mind you are interested in, feel free to submit an issue at the issues page.

Notice: This is a very early stage cryptographic library. USE AT YOUR OWN RISK! ZERO WARRENTY GUARANTEED.


v0.2.0 (27/9/2022)

  • Removed Packed DPF.
  • Added DPF iterator.


~14K SLoC