Skip to content

Commit

Permalink
clarify the meaning of POPRF
Browse files Browse the repository at this point in the history
  • Loading branch information
Victor Graf committed Nov 23, 2021
1 parent 37d23e4 commit 3d86ab1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/celo-codebase/protocol/odis/domains/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ In order to support use cases such as password hardening, and future application
A Domain instance is structured message sent to ODIS along with the secret blinded message.
Unlike the blinded message, the Domain instance is visible to the ODIS service and allows the client to specify context information about their request.
This context information is used to decide what rate limit and/or authentication should be applied to the request, and is combined into the result to ensure output is unique to the context.
The Domain instance and blinded message are both passed to the ODIS partially oblivious pseudorandom function (POPRF), which is a new construction extending upon the [OPRF function](/celo-codebase/protocol/odis) used in the [phone number privacy service](/celo-codebase/protocol/odis/use-cases/phone-number-privacy).

As an example, a Domain for hashing an account password might specify an application username of "vitalik.eth" (context) and a cap of 10 password attempts (rate-limiting parameter).
These would be combined with the user's password (blinded input) in the POPRF, which acts as a one-way function, to form the final output.
Expand Down

0 comments on commit 3d86ab1

Please sign in to comment.