RSA

Uses modular arithmetic with a public modulus and trapdoor factorization secret for encryption or signatures.

Method

Generate large primes; construct modulus and exponents; use secure padding schemes; validate keys and implementation.

Applications

Legacy key transport and signatures; certificate infrastructure.

Advantages

Well studied; broad interoperability and mature standards.

Limitations

Use vetted implementations, appropriate padding (such as OAEP for encryption and PSS for signatures) and adequate key sizes. Textbook RSA is insecure. TLS 1.3 does not use RSA key transport, although RSA certificates/signatures remain possible.

Alternatives

Elliptic-curve cryptography, ML-KEM for key establishment, ML-DSA/SLH-DSA for signatures.

Example

Tiny example: p=5,q=11,n=55,phi=40,e=3,d=27: m=7 -> c=28 -> m=7.

Editorial clarification

Corrected or qualified against standard references; bundled concepts are distinguished.

Sources

Educational reference only, not professional advice.

All algorithms