gleam-lang / crypto

⛓️ Crypto functionality for Gleam applications
https://hexdocs.pm/gleam_crypto/
Apache License 2.0
36 stars 11 forks source link

Add keccak256 hashing algorithm #10

Open gusinacio opened 3 months ago

gusinacio commented 3 months ago

Javascript and Rust are widely used on the Ethereum ecosystem and I can see a future where they can use Gleam a simpler language than Rust with static typing to replace Javascript.

I suggest adding keccak256 to enable libraries to use the standard gleam/crypto lib.

lpil commented 3 months ago

Do the Erlang and JavaScript standard libraries have this algorithm? If not then we cannot add it here, so it would need to be in a different package.