def sha512b64(*data):
 return _hash(hashlib.sha512, data).digest().encode('base64')

def sha512b64 ( * data ) : return _hash ( hashlib . sha512 , data ) . digest ( ) . encode ( 'base64' )
apply the sha512 hash algorithm to a string and return the base64-encoded hash value .