python hashlib.sha512 ()
from hashlib import sha512
print(sha512('hello'.encode()).hexdigest())
Fantastic Flamingo
from hashlib import sha512
print(sha512('hello'.encode()).hexdigest())
import hashlib
m = hashlib.sha512()
m.update(b"Message") #change message to what you want to encode
#If you want to use a variable use the other version of m.update()
variable = "Message"
m.update(variable.encode("utf8"))
hashedMessage = m.digest()
print(hashedMessage)