def _encode_bytes(self):
        random_bytes = self._random_bytes()
        hash_obj = hashlib.sha512(random_bytes)
        return hash_obj.hexdigest()
Builds random strings based on random data.
dataset/ETHPy150Open openstack/openstack-ansible/scripts/pw-token-gen.py/CredentialGenerator._encode_bytes