Gleam crypto library

Cryptographic functionality in Gleam

I’ve just started with the basics, everything I need to get started.

  • strong_random_bytes
  • hash
  • secure_compare

The aim is that gleam_crypto will be a fairly thin wrapper around the erlang crypto module.
Even in that case there are several design questions about making a nice to use API that works well with Gleams type system.
There is also a new and old API in the crypto module, we should only wrap the new I assume.

Help wanted

I will probably just be adding functionality as I need it, however PR’s for more are welcome.

7 Likes