What Does the RSA Encrypt/Decrypt Calculator Do?
The RSA Encrypt/Decrypt Calculator performs client-side asymmetric public-key cryptography and educational mathematical demonstrations. In Standard Mode, it leverages the browser-native Web Cryptography API to generate real RSA-OAEP key pairs and perform cryptographically secure encryption and decryption.
In Educational Mode, it utilizes JavaScript BigInt arbitrary-precision arithmetic to calculate RSA primes p and q, compute totient phi(n), determine private exponent d via the Extended Euclidean Algorithm, and execute modular exponentiation (c = m^e mod n).