Skip to content

use Keccak256 and little endian output in default Transcript - #442

Merged
MauroToscano merged 5 commits into
lambdaclass:mainfrom
feltroidprime:main
Jun 29, 2023
Merged

MauroToscano merged 5 commits into
lambdaclass:mainfrom
feltroidprime:main

Conversation

@feltroidprime

@feltroidprime feltroidprime commented Jun 19, 2023 •

Copy link
Copy Markdown
Contributor

Rationale :
Keccak256 has the same security as Sha3-256 and SHA-3 is not available in Cairo.

Starknet Keccak256 outputs the hash in little endian.
Using the same representation in the transcript will save many (several hundreds) of Bitshift operations for a Cairo Verifier.

@feltroidprime
feltroidprime requested review from a team, ajgara and schouhy as code owners June 19, 2023 12:41
@MauroToscano

Copy link
Copy Markdown
Collaborator

We need to fix the tests before merging

@MauroToscano
MauroToscano added this pull request to the merge queue Jun 29, 2023
Merged via the queue into lambdaclass:main with commit 7d5d584 Jun 29, 2023
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.

5 participants