Despite RSA's ubiquity in securing digital communications, few understand its mathematical foundations and inherent vulnerabilities. We dissect the trapdoor functions, key generation, and critical attack vectors like factorization and ROCA that keep cryptographers vigilant.