Saving hashed passwords - Safe?
<p>Would a Python script like this be safe to use? There would be a file "theFile" on the disk:</p>

<pre><code>myPassHash = theFile.read()
enteredPassword = raw_input("Enter your password: ")
enteredHash = hashlib.sha512(enteredPassword)
if myPassHash == enteredHash:
    print "Correct!"
else:
    print "Incorrect!"
</code></pre>
