EspressoSystems / EspressoSystems/hyperplonk

Is the current SRS randomly generated?

Open
#183 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
343
Forks
104
PR merge metrics
No merged PRs in 30d

Description

I was learning this library recently, when I was debugging, I found that the function ```gen_srs_for_testing``` always returns the same SRS. Further, I found that the random generator for G1, G2, and scalar always returns the same ```g```, ```h```, and ```t```, no matter what the ```SUPPORTED_SIZE``` is set to.

I assume the RNG is set to the same seed in every test. Does this have an impact on security? BTW, does _hyperplonk_ support completely random SRS?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.