-
Notifications
You must be signed in to change notification settings - Fork 49
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
Cairo0 unsafe keccak hint #361
Conversation
Currently the NewLegacyKeccak256() from the https://pkg.go.dev/golang.org/x/crypto/sha3 is used, which is also used in the go-ethereum crypto package. Alternatively, we could use this package, which is 10x faster on the benchmarks, than the package used in lambdaclass golang-vm. |
@cicr99 @rodrigo-pino what do you think? Why not using a faster implementation ? |
Actually after some research, the benchmarks aren't that better than the official goland lib for sha3 and it's not maintaned, so I think we should stick to what we are using currently |
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.
lgtm!
No description provided.