RSA
RSA asymmetric cryptography algorithm as defined in RFC 8017.
RSA provides public-key encryption and digital signatures based on the difficulty of factoring large integers. Multiple padding schemes are available:
OAEP — authenticated encryption (recommended for new applications).
PSS — probabilistic signatures (recommended for new applications).
PKCS1 — legacy encryption and signatures.
RAW — unpadded operations (unsafe for general use).
Inheritors
Types
RSA with Optimal Asymmetric Encryption Padding (OAEP) as defined in RFC 8017 Section 7.1.
RSA with PKCS#1 v1.5 padding as defined in RFC 8017 Sections 7.2 and 8.2.
RSA Probabilistic Signature Scheme (PSS) as defined in RFC 8017 Section 8.1.
Raw RSA without padding (textbook RSA).
Properties
The typed identifier that uniquely distinguishes this algorithm and is used to look it up from a CryptographyProvider.
Functions
Returns a KeyGenerator that generates RSA key pairs with the given parameters.
Returns a Decoder that decodes RSA private keys for the given digest from the specified PrivateKey.Format.
Returns a Decoder that decodes RSA public keys for the given digest from the specified PublicKey.Format.