title: How do I combine n and e to create the public key in RSA?
body: <p>I have a 128-byte (1024-bit) modulus (in a byte array format) and my exponent (also in a byte array format). I need to create a 128-byte array representing the public key.</p>
  
  <p>According to Wikipedia, "The public key consists of the modulus n and the public (or encryption) exponent e." But that doesn't tell me how to mix both.</p>
  
  <p>What is the right operation to do?<br>
  - n^e (will that stay 128 bytes long?)<br>
  - just n?<br>
  - n followed by e?<br>
  - n added to e?<br>
  - something else?  </p>