padding the binary representation of a BigInteger
<p>Just wondering how / if it is possible to pad a string to the left. I saw to use format() but i didnt know what to put in the paramters for my case.</p>

<p>Im starting originally with a BigInteger <code>Message</code> then saying <code>message.toString(2)</code> to make the binary representation of the BigInteger as the string. But in this case I want to check if the length is a multiple of 8, and if it is not pad the string to the length of the next multiple of 8.</p>

<p>So in my case after i do <code>message.toString(2)</code> the length of that string im calling <code>plaintext</code> is 63, so I want to left pad it to length 64 by adding a zero at the front.</p>

<p>Any help would be greatly appreciated!</p>
