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

feature: implement fast_pedersen_hash with ecdsa module #194

Open
sc0Vu opened this issue Jul 1, 2024 · 0 comments
Open

feature: implement fast_pedersen_hash with ecdsa module #194

sc0Vu opened this issue Jul 1, 2024 · 0 comments

Comments

@sc0Vu
Copy link

sc0Vu commented Jul 1, 2024

Hi,

Recently, I found that the code in fast_pedersen_hash.py (https://github.com/starkware-libs/cairo-lang/blob/master/src/starkware/crypto/signature/fast_pedersen_hash.py) imports both fastecdsa and ecdsa. However, according to the documentation, fastecdsa does not support the Windows platform. I think it might be possible to rewrite the code to use ecdsa instead.

Below is a code snippet that I have tested and is working correctly:

https://gist.github.com/sc0Vu/09e7f1838785825de800cd3422e4511a

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant