-
Notifications
You must be signed in to change notification settings - Fork 4
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
Enhance random source #15
Comments
@kim201212 Please describe the spec of the random source. |
@kim201212 I know you have already done this issue, but what do you think expanding this issue by doing below? Lines 142 to 146 in f493410
|
That's a great idea! |
Random Spec.
Generating randomness
The randomness that each participant contributes to a set of Powers of Tau is in the form of an integer in the range
(1, bls.r)
.The participant MUST generate 4 different secrets from a cryptographically-secure pseudo-random number generator (CSPRNG) of their choosing.
Each secret MUST meet the following requirements:
Furthermore, each secret SHOULD meet the following requirements:
bls.r
).KeyGen
A good method for meeting the above requirements would be to make use of the$\mathbb{F}_r$ .
KeyGen
function offered by all compliant BLS libraries. This function takes in a seed of at least 32 bytes and returns a uniformly sampled integer ofTask
The text was updated successfully, but these errors were encountered: