repl.it
@nakov/

Secrets in Python

Python

Secrets generate unpredictable random number, based on the entropy collected by OS in Python

fork
loading
Files
  • main.py
main.py
1
2
import secrets
print(secrets.randbelow(int(1e50)))