title: Implement RSA in Java without using Cipher
body: <p>I'm trying to implement the RSA encryption/decryption algorithm on a text of String. However, everything I have found online either uses Cipher, or they are performing the algorithm on an integer. Could anybody give me a simple guide for implementing this on for example, a sentence? 
  I prefer not to use Cipher or any other libraries because I want to know how it works.</p>
  
  <p>Edit: Thanks for the help everyone. I finally got it to work :) </p>