getToken.py 170 B

1234567
  1. #!/usr/bin/python3
  2. import string
  3. import secrets
  4. alphanum = string.ascii_letters + string.digits
  5. token = ''.join(secrets.choice(alphanum) for i in range(64))
  6. print(token)