Skip to content

Commit

Permalink
Remove dst variable
Browse files Browse the repository at this point in the history
Co-authored-by: Luke Valenta <lvalenta@cloudflare.com>
  • Loading branch information
armfazh and lukevalenta committed Mar 24, 2022
1 parent d455fbc commit df37fa8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ class baseClient extends Oprf {

async blind(input: Uint8Array): Promise<[FinalizeData, EvaluationRequest]> {
const { scalar, blind } = await this.randomBlinder()
const dst = this.getDST(Oprf.LABELS.HashToGroupDST)
const P = await this.gg.hashToGroup(input, this.getDST(Oprf.LABELS.HashToGroupDST))
if (this.gg.isIdentity(P)) {
throw new Error('InvalidInputError')
Expand Down

0 comments on commit df37fa8

Please sign in to comment.