RustCrypto / RSA

RSA implementation in pure Rust
Apache License 2.0
550 stars 153 forks source link

Document `expose-internals` removal, bring part of `internals` back as `hazmat` #352

Closed tchebb closed 1 year ago

tchebb commented 1 year ago

As per the discussion in #351, some of these functions are useful to external users, but we want to make it absolutely clear that they're unsafe. Keep them behind a feature flag for that reason, and additionally add scary documentation inspired by what's already in the aes crate.

Please don't squash when merging if possible; the commits are split appropriately as is.

This contribution is on behalf of my company.