title: Convert Byte[64] array to minimum length string
body: <p>I have try to generate unlock key like XXXX-XXXX-XXXX or simply small length string or Hexstring. I am using RSA algorithm to encrypt and decrypt the Key. I got some long string like </p>
  
  <pre><code>Q65g2+uiytyEUW5SFsiI/c5z9NSxyuU2CM1SEly6cAVv9PdTpH81XaWS8lITcaTZ4IjdmINwhHBosvt5kdg==
  </code></pre>
  
  <p>when I convert the byte array (array size is 64 byte) using the below convert method.                            </p>
  
  <pre><code>Convert.ToBase64String(bytes); 
  </code></pre>
  
  <p>My requirement is to generate the minimal length Key. Is there any way to convert the Byte array (array size is 64 byte) to minimal length and I need that back to byte array or any other suggestions (to minimize the string length) would be helpful. </p>
  
  <p>I have tried to convert the output string to Hex decimal, but the output is too long than the string.</p>