Signature
String sha256_hex(String data)
Parameters
data : bytes to hash
return value : the SHA-256 digest as a 64-character lowercase hex string
Returns the SHA-256 digest of data as hex text. Use it for checksums, cache keys, and content fingerprints where you want a printable digest. For the raw 32-byte digest use sha256().
Example
print(sha256_hex("abc"), "\n");
Output
ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad