We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Pedersen hash to curve can be found here: https://docs.starkware.co/starkex/crypto/pedersen-hash-function.html
-- pedersen_hash_to_curve : (x y: Field) : Ec.Point := -- Init the five constant points P0, P1, P2, P3, P4 -- Split x and y to (x_low, x_high) and (y_low, y_high) -- H(x, y) = P0 + x_low * P1 + x_high * P2 + y_low * P3 + y_high * P4
The text was updated successfully, but these errors were encountered:
The simplified version is already in main: https://github.com/anoma/juvix-stdlib/blob/main/Stdlib/Cairo/Pedersen.juvix. Check if you have the latest version of Juvix (and do git submodule update and juvix clean --global before installing the new one).
main
git submodule update
juvix clean --global
Sorry, something went wrong.
No branches or pull requests
Pedersen hash to curve can be found here:
https://docs.starkware.co/starkex/crypto/pedersen-hash-function.html
-- pedersen_hash_to_curve : (x y: Field) : Ec.Point :=
-- Init the five constant points P0, P1, P2, P3, P4
-- Split x and y to (x_low, x_high) and (y_low, y_high)
-- H(x, y) = P0 + x_low * P1 + x_high * P2 + y_low * P3 + y_high * P4
The text was updated successfully, but these errors were encountered: