Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enforce challenge to be non-zero #2

Merged
merged 1 commit into from Jun 13, 2023

Conversation

nalinbhardwaj
Copy link
Contributor

Some challenges assume the existence of inverse. This patch guarantees that any generated transcript challenges are non-zero so they have a field inverse.

Doesn't really matter in practice since the probability of this happening is exceedingly rare but might as well enforce it to prevent any undetermined behaviour.

Some challenges assume the existence of inverse.
Doesn't really matter in practice I think but might as well fix it.
asn-d6 pushed a commit that referenced this pull request May 4, 2023
@asn-d6
Copy link
Owner

asn-d6 commented Jun 13, 2023

I guess... it can't hurt. Merging. Thanks!

@asn-d6 asn-d6 merged commit 42c0659 into asn-d6:main Jun 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants