Which module is used for secure random tokens and passwords in Python?
Correct answer
C. secrets
5 views
C. secrets
5 views
secrets uses a cryptographically strong source; random is not for security.
Asked in: Python Interview Standard Library
https://docs.python.org/3/library/index.htmlNot sure why the answer is C? Ask here and get an explanation.