Cryptography is considered to be one of the best application of rust. So I was wondering what cryptography crates people usually use. I see many crates that are abandoned, and other discussions I found on this topic are 2+ years old.

  • FizzyOrange@programming.dev
    link
    fedilink
    arrow-up
    1
    ·
    11 hours ago

    aws-lc-rs is probably the most popular but also quite annoying because it uses C, so cross-compiling is a bit of a pain. I only managed to do it thanks to cargo zigbuild which is amazing. (And kind of embarrassing that Rust has to use Zig to get a nice cross-compiling UX, but hey it works.)

    The other one is ring, which I’m not really sure the status of but I recall they had some super weird versioning policies that weren’t very popular.

    • Ephera@lemmy.ml
      link
      fedilink
      arrow-up
      1
      ·
      1 hour ago

      I only managed to do it thanks to cargo zigbuild which is amazing. (And kind of embarrassing that Rust has to use Zig to get a nice cross-compiling UX, but hey it works.)

      As in cross didn’t work for this?