Skip to content

Commit

Permalink
encpedpop: nit
Browse files Browse the repository at this point in the history
  • Loading branch information
real-or-random committed Dec 18, 2024
1 parent 2316b7f commit 29ace66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/chilldkg_ref/encpedpop.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def ecdh(
data += my_pubkey + their_pubkey
else:
data += their_pubkey + my_pubkey
assert len(data) == 2 * 33 + 32
assert len(data) == 32 + 2 * 33
data += context
return Scalar(int_from_bytes(tagged_hash_bip_dkg("encpedpop ecdh", data)))

Expand Down

0 comments on commit 29ace66

Please sign in to comment.