Write a python function to generate SHA256 for given text


Topic: Write a python function to generate SHA256 for given text

Solution

def get_sha256(text):
    import hashlib
    return hashlib.sha256(text).hexdigest()



List all Python Programs