getSha256Digest

Generates the sha256 digest.

Return

The sha256 digest for the string, or null if it failed to create the digest.