#NEWLINE# def _encode_bytes( self ) : #NEWLINE# #INDENT# "Builds random strings based on random data.\n\n        `_encode_bytes` will ensure that there's never an opportunity for\n        duplicate data. Once the bytes are generated, they are hashed using\n        SHA512 and the returned as a **hex** digest.\n        " #NEWLINE# random_bytes = self . _random_bytes ( ) #NEWLINE# hash_obj = hashlib . sha512 ( random_bytes ) #NEWLINE# return hash_obj . hexdigest ( )