OPRF To Derive Keys From Low-Entropy Data
You will make a standard request to the relay node with the state (see Making Requests) using the Secp256k1 method.
Here is an example request using the OPRFSecp256k1 method:
However, you will need to get the point to send for the OPRF:
Getting the point
With mishtiwasm
Install:
Import:
Use:
encoded_masked_point
can be the value for point
in the RequestToNetwork
Unmasking the point
After querying the network and receiving the point response_from_network
, unmask the response via
This is the output of the OPRF!
Last updated