toSha256

Returns the sha256 hex string.

Return

The sha256 hex string or null if the value is null or it failed encode the string.