Adventures in Encryption

In which I implement RSA.