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

Provide a table for decision criterion for Pedersen hashes #16

Open
ValarDragon opened this issue Nov 16, 2020 · 1 comment
Open

Provide a table for decision criterion for Pedersen hashes #16

ValarDragon opened this issue Nov 16, 2020 · 1 comment
Labels
D-easy Difficulty: easy P-high Priority: high T-documentation Type: doc improvements

Comments

@ValarDragon
Copy link
Member

Currently we implement three different 'hash' functions for going from strings to elliptic curve elements. https://github.com/arkworks-rs/crypto-primitives/tree/main/src/crh

  • Pedersen
  • Bowe-Hopwood
  • Injective map (I'm not really sure what this one is)

It'd probably be a handy reference to provide a table in the README for that directory explaining when to use each hash / what the different properties of each one is.

@Pratyush
Copy link
Member

Yes, actually all of crypto-primitives is lacking documentation right now.

@Pratyush Pratyush added T-documentation Type: doc improvements D-easy Difficulty: easy labels Nov 16, 2020
@Pratyush Pratyush added the P-high Priority: high label Sep 9, 2021
@Pratyush Pratyush changed the title Provide a table for decision criterion for hashing to curve Provide a table for decision criterion for Pedersen hashes Sep 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
D-easy Difficulty: easy P-high Priority: high T-documentation Type: doc improvements
Projects
Development

No branches or pull requests

2 participants