Skip to content
Snippets Groups Projects
Commit b23c279b authored by Jean-Paul Calderone's avatar Jean-Paul Calderone
Browse files

It doesn't really matter but make the sizes consistent

parent eea43443
Branches
No related tags found
1 merge request!43Add some more docs
......@@ -220,8 +220,10 @@ def zkaps():
"""
return builds(
lambda preimage, signature: Pass(u"{} {}".format(preimage, signature)),
preimage=binary(min_size=66, max_size=66).map(urlsafe_b64encode),
signature=binary(min_size=66, max_size=66).map(urlsafe_b64encode),
# Sizes informed by
# https://github.com/brave-intl/challenge-bypass-ristretto/blob/2f98b057d7f353c12b2b12d0f5ae9ad115f1d0ba/src/oprf.rs#L18-L33
preimage=binary(min_size=64, max_size=64).map(urlsafe_b64encode),
signature=binary(min_size=64, max_size=64).map(urlsafe_b64encode),
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment