Our great sponsors
-
sodiumoxide
Discontinued [DEPRECATED] Sodium Oxide: Fast cryptographic library for Rust (bindings to libsodium)
-
CheatSheetSeries
The OWASP Cheat Sheet Series was created to provide a concise collection of high value information on specific application security topics.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
The crates from the RustCrypto organization are great, but unlike sodium they don't try to prevent you from making mistakes. I'm not aware of an alternative for that purpose, but OWASP has cheatsheets for various security topics, which even include occasional references to specific crates/functions.
Looks like RustCrypto also has something for crypto_box: https://github.com/RustCrypto/nacl-compat/tree/master/crypto_box
crypto_secretbox: https://github.com/RustCrypto/AEADs/tree/master/xsalsa20poly1305