def token_hex(nbytes=None):
 return binascii.hexlify(token_bytes(nbytes)).decode('ascii')

def token_hex ( nbytes = None ) : return binascii . hexlify ( token_bytes ( nbytes ) ) . decode ( 'ascii' )
return a random text string .