title: SAS lowercase SHA256 string
body: <p>Currently testing a SHA256 function in order to prepare a variable for use in another application. </p>
  
  <p>The user has requested the SHA256 result be in lower case. I created a quick record in order to make sure I can convert the string-</p>
  
  <pre><code>data have;
  input first $ last $ dob $ 10. sex $;
  cards;
  test person 1955-07-31 1
  ;
  run;
  </code></pre>
  
  <p>Seems it will not allow a lower case string once passed through the SHA function. </p>
  
  <p>Is there a workaround for this? The below attempt did not yield desirable results. </p>
  
  <pre><code>data have2;
  set have;
  source = catt(first,last,dob,sex);
  encryp = lowcase(sha256(source));
  format encryp $hex64.;
  run;
  </code></pre>