code: def gen_secret(length=64):
      
      charset = string.ascii_letters + string.digits
      return ''.join(random.SystemRandom().choice(charset)
                     for _ in range(length))
docs: Generates a secret of given length