Returns the sha256 hex string for a given string.
The sha256 hex string or null if the value is null or it failed encode the string.
The value.