Available on crate feature
hazmat
only.Expand description
⚠️ Low-level “hazmat” RSA functions.
§☢️️ WARNING: HAZARDOUS API ☢️
This module holds functions that apply RSA’s core encryption and decryption primitives to raw data without adding or removing appropriate padding. A well-reviewed padding scheme is crucial to the security of RSA, so there are very few valid uses cases for this API. It’s intended to be used for implementing well-reviewed higher-level constructions.
We do NOT recommend using it to implement any algorithm which has not received extensive peer review by cryptographers.
Functions§
- ⚠️ Performs raw RSA decryption with no padding or error checking.
- ⚠️ Performs raw RSA decryption with no padding.
- ⚠️ Raw RSA encryption of m with the public key. No padding is performed.