RSA Public Form

This form is used by Alice to either (1) send Bob an encrypted message, or (2) to receive a digitally signed message from Bob.

The following is for Bob's public key:

OpenPGP Multi Precision Integer
(MPI) of Public Key (base64):
Public exponent (e):
Public Modulus (p*q):


The following is to send Bob an encrypted message. Put in the plaintext, encrypt it with Bob's public key, and send the encrypted text (ciphertext) to Bob. Only Bob will be able to read it.

Plaintext:
Ciphertext in hex:
  This took seconds

The following is to check the digital signature on a message that purports to be from Bob. Put in the signed message digest, and decrypt it with Bob's public key. If it matches the message digest for the message, then the digest was encrypted with Bob's private key.

message digest (MD) in hex:
signed MD in hex:
encrypted signed MD in hex:
  this took seconds

© 2011 Scott D. Anderson, adapted from 2005 Herbert Hanewinkel, adapted from John Hanna's RSA implementation