Hashlib Sha 256

hashlib.sha256(word.encode("ascii")).hexdigest()
Arno Deceuninck