title: Pythons random.seed does not work when seeded with a hash
body: <p>I am trying to seed an instance of pythons random. However when I run the code below it generates a different answer each time even if user input stays the same.</p>
  
  <pre><code>import random
  import hashlib
  
  mapSeed = hashlib.sha1(input("Enter seed: ").encode('utf-8'))
  rnd = random.Random()
  rnd.seed(mapSeed)
  print(mapSeed)
  print(rnd.random())
  </code></pre>