Closed camquyt23 closed 3 years ago
Hey @foll0wer, thanks for your PR. There's already a C-based library out there: https://github.com/potatosalad/erlang-keccakf1600
I think we want to keep this one in Rust. @ayrat555 did point out that this is a lot slower than erlang-keccakf1600
. One thing I would like to try is swapping the tiny-keccak
with keccak-hash
(this is what OpenEthereum uses) and run the benchmarks. I haven't had the time to do this yet.
@foll0wer I think you can create a new NIF library. It will be useful for many people (who don't want to drag Rust) Because it seems https://github.com/potatosalad/erlang-keccakf1600 is not maintained anymore and it doesn't support new versions of OTP
@foll0wer I think you can create a new NIF library. It will be useful for many people (who don't want to drag Rust) Because it seems https://github.com/potatosalad/erlang-keccakf1600 is not maintained anymore and it doesn't support new versions of OTP
Agreed, I ended up pushing a patched version for one of those OTP versions. A new NIF lib based on C would definitely see lots of use
@foll0wer, thanks for your PR, but based on our previous comments I will close this PR
Maybe this version is simple than rust NIF