Python hashlib.sha512() Function
The hashlib.sha512() function returns a SHA-512 hash object.
SHA-512 is more secure than SHA-256 and produces a 512-bit (64-byte) hash value.
Syntax
hashlib.sha512(data)
Return Value
A hash object.
Example
Output
Click Run to execute your code