Decrypt the message

The encrypted message gets sent to Bob. Because we encrypted it with Bob's public key, we can only decrypt it with his corresponding private key, which is only available to him (i.e., it's private).

For our purposes, we will have Bob's private key consist of one number: 103.

Copy an encrypted message (encrypted with Bob's public key) from the Encrypt Message page and paste it into the "Encrypted Message" field below. Enter Bob's private key and the second part of his public key (which is 143) and click the Decrypt Message button. The program will:

  1. Decrypt the ASCII characters of the encrypted message using the private key.
  2. Convert the ASCII characters back to their characters values. If you have used the right public and private keys, this will yield the original (unencrypted) message.