Python Créer du hash à partir de la chaîne

import hashlib
hash_object = hashlib.sha256(b'Hello World')
hex_dig = hash_object.hexdigest()
print(hex_dig)
Uptight Unicorn