-
Notifications
You must be signed in to change notification settings - Fork 51
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
Feat: Builtin Keccak256 #144
Conversation
merge main branch
merging main
Dear @rodrigo-pino , This PR is ready for review. Still contains Println and Printf lines for verification and debug. This will be commented out after reveiw. |
Resolves issue #130 |
Spend some time today trying to figure out how this should work and it seems the keccak builtin does the keccak-f1600 permutation to the 8 felt 200bit inputs and writes 8 felt 200bit outputs. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ready for review : Implementing Keccak256 hashing
[x] Add padding to inputs
[x] Applied keccak
CairoKeccak
[x] Verify test result from the web (same inputs, same output)
[x] LE, BE (Little Endian, Big Endian) way of Keccak implementation
[x] Tests for LE, BE inputs.