Finds the sha256 hash of the content.

def sha256(content):
    """Finds the sha256 hash of the content."""
    if isinstance(content, str):
        content = content.encode('utf-8')
    return hashlib.sha256(content).hexdigest()