8000 Add function to generate a random BLS private key · Issue #442 · getwax/bls-wallet · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Nov 5, 2023. It is now read-only.
This repository was archived by the owner on Nov 5, 2023. It is now read-only.
Add function to generate a random BLS private key #442
Closed
@jacque006

Description

@jacque006

As a web3 developer
I would like to be able to generate a random private key within the BN254 curve
So that I can be sure the private keys I generate have sufficient entropy and are compatible

Notes

See @blakecduncan 's implementation for the extension as well as randFr from the signer library we use.

Right now, if a private key is provided to a BLS Wallet that is outside of that curve, we hash it to fit inside. See thehubbleproject/hubble-bls#28 (comment) for some discussion around why this could be undesirable.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

🤝 Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0