Get SHA 3 512 of a string in Python
Advertisements
import hashlib # Get the sha-3-512 of the string. def get_sha_3_512_of_string(your_string): return hashlib.sha3_512(your_string.encode()).hexdigest() def main(): # Get the sha-3-512 of the string. print(get_sha_3_512_of_string("Hello World!")) main()