Generate a SHA-256 hash from a string: