Package rsa implements RSA encrypt and decrypt operations. The practical key sizes are <= 512 bits i.e. this must not be used in any real life applications.
E65537 is the public RSA exponent 2^16+1.
Decrypt decrypts the cipher text with the private key {d, n}.
message = cipher**d mod n
Encrypt encrypts the message with the public key {e, n}.
cipher = msg**e mod n