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

Sample parameters via hash-to-curve #62

Open
Pratyush opened this issue Jul 12, 2021 · 2 comments
Open

Sample parameters via hash-to-curve #62

Pratyush opened this issue Jul 12, 2021 · 2 comments
Assignees
Labels
D-hard Difficulty: hard P-high Priority: high T-design Type: discuss API design and/or research T-feature Type: new features T-refactor Type: cleanup/refactor

Comments

@Pratyush
Copy link
Member

Whenever we're sampling group elements in a transparent setup, we should use hash-to-curve instead of sampling the parameters via Rngs

@Pratyush Pratyush self-assigned this Jul 12, 2021
@Pratyush
Copy link
Member Author

@ValarDragon, at some point you were working on hash-to-curve infra, right? Do you know the state of that?

@weikengchen
Copy link
Member

weikengchen commented Jul 12, 2021

It would be great if there is a global macro that helps write hash-to-the-curve, so individual programs just call something like:

hash_to_curve!(G1, format!("Transparent setup {}", i));

@Pratyush Pratyush added D-hard Difficulty: hard P-high Priority: high T-design Type: discuss API design and/or research T-feature Type: new features T-refactor Type: cleanup/refactor labels Sep 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
D-hard Difficulty: hard P-high Priority: high T-design Type: discuss API design and/or research T-feature Type: new features T-refactor Type: cleanup/refactor
Projects
None yet
Development

No branches or pull requests

2 participants