Documentation ¶
Overview ¶
Package oprf implements the server side of a robust OPRF.
The OPRF is based on 2HashDH and a Chaum-Pedersen DLEQ proof. See the Rust implementation in the Juicebox SDK for more details.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BlindEvaluate ¶
func BlindEvaluate( privateKey *types.OprfPrivateKey, publicKey *types.OprfPublicKey, blindedInput *types.OprfBlindedInput, cryptoRng io.Reader, ) (*types.OprfBlindedResult, *types.OprfProof, error)
BlindEvaluate runs the OPRF evaluation and generates a proof on the server.
It returns errors from decoding inputs and reading the given RNG.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.