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