RSA Express Encryption/Decryption Calculator

This worksheet is provided for message encryption/decryption with the RSA Public Key scheme. No provisions are made for high precision arithmetic, nor have the algorithms been encoded for efficiency when dealing with large numbers.

To use this worksheet, you must supply:

The values of N, e, and d must satisfy certain properties. See RSA Calculator for help in selecting appropriate values of N, e, and d.

JL Popyack, December 2002

The largest integer your browser can represent exactly is


To encrypt a message, enter valid modulus N below. Enter encryption key e and plaintext message M in the table on the left, then click the Encrypt button. The encrypted message appears in the lower box.

To decrypt a message, enter valid modulus N below. Enter decryption key d and encrypted message C in the table on the right, then click the Decrypt button. The decrypted message appears in the lower box.

 

Supply Modulus: N

Supply Encryption Key and Plaintext message M:

Encryption Key: e

OR

Supply Decryption Key and Ciphertext message C:

Decryption Key: d

Plaintext Message to encode:

Plaintext Message in numeric form:

Encrypted Message in numeric form:

Ciphertext Message in numeric form:

Decrypted Message in numeric form:

Decrypted Message in text form: