hashlib.sha3_256() code example Example: python hashlib.sha512() from hashlib import sha512 print(sha512('hello'.encode()).hexdigest())