cairo-vm-go
cairo-vm-go copied to clipboard
Cairo0 unsafe keccak hint
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