Optimize SHA256 hex string creation
Optimize SHA256 hex string creation

We have done similar optimization of SHA256 hex string in santad and
this is a port of that code here.

google/macops-molcertificate