def new_secret():
 secret = ''.join(random.sample(_all_chars, 64))
 if six.PY3:
  secret = secret.encode('utf8')
 return secret

def new_secret ( ) : secret = '' . join ( random . sample ( _all_chars , 64 ) ) if six . PY3 : secret = secret . encode ( 'utf8' ) return secret
returns a 64 byte secret .