title: Why is random.random() not secure in Python?
body: <p>I came across this question on Stack overflow:
  <a href="https://stackoverflow.com/questions/306400/how-to-randomly-select-an-item-from-a-list">How to randomly selection item from a list in Python</a>
  and they mentioned that it is not suitable for cryptographic/security purposes. </p>
  
  <p>So, I found this page in the official documentation: <a href="https://docs.python.org/3/library/random.html" rel="noreferrer">random - Generate pseudorandom numbers</a></p>
  
  <p>It mentions that they use a Mersenne twister to generate random numbers.</p>
  
  <p>Isn't Mersenne twister supposed to be a pretty decent random generator (at least that's what I was told in class)? So why can you not use it for security purposes?</p>