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

Use optimal poseidon hash impl for two elements #8

Merged
merged 1 commit into from
Dec 17, 2024

Conversation

m-kus
Copy link
Contributor

@m-kus m-kus commented Dec 17, 2024

Poseidon hash of two arguments is a special case and is handled differently:
https://docs.starknet.io/architecture-and-concepts/cryptography/hash-functions/#poseidon_hash

Related to keep-starknet-strange/raito#312

src/udata.rs Outdated Show resolved Hide resolved
@m-kus m-kus force-pushed the fix/poseidon-hash-pair branch from 21e2050 to 4bde819 Compare December 17, 2024 22:08
@Davidson-Souza Davidson-Souza merged commit 5547292 into Davidson-Souza:main Dec 17, 2024
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

Successfully merging this pull request may close these issues.

2 participants