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

Improve Performance and Improve generalization #1

Open
2 of 4 tasks
ausaf007 opened this issue Jun 23, 2022 · 0 comments
Open
2 of 4 tasks

Improve Performance and Improve generalization #1

ausaf007 opened this issue Jun 23, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@ausaf007
Copy link
Owner

ausaf007 commented Jun 23, 2022

Performance Enhancement:

  • Replace mod().pow() to modPow() in Peggy class

Generalization

  • Abstract out the code from Peggy class, and create a Prover class. Make Peggy an instance of this Prover class.
  • Abstract out the code from Victor class, and create a Verifier class. Make Victor an instance of this Verifier class.
  • Change random4() to random(int digits), to generate any arbitrary digit random number.
@ausaf007 ausaf007 added the enhancement New feature or request label Jun 23, 2022
@ausaf007 ausaf007 self-assigned this Jun 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant