title: "Specified value has invalid Control characters" when converting SHA512 output to string
body: <p>I am attempting to create an Hash for an API.
  my input is something like this:</p>
  
  <p>FBN|Web|3QTC0001|RS1|260214133217|000000131127897656</p>
  
  <p>And my expected output is like :</p>
  
  <p>17361DU87HT56F0O9967E34FDFFDFG7UO334665324308667FDGJKD66F9888766DFKKJJR466634HH6566734JHJH34766734NMBBN463499876554234343432456</p>
  
  <p>I tried the bellow but I keep getting 
  "Specified value has invalid Control characters. Parameter name: value"</p>
  
  <p>I am actually doing this in a REST service.</p>
  
  <pre><code>public static string GetHash(string text)
  {
      string hash = "";
      SHA512 alg = SHA512.Create();
      byte[] result = alg.ComputeHash(Encoding.UTF8.GetBytes(text));
      hash = Encoding.UTF8.GetString(result);        
      return hash;
  }
  </code></pre>
  
  <p>What am I missing?</p>