Would someone explain to me why hash() isn't working?

Ah looks like the old repl (100 days of code) is still using Prybar which means that it keeps 1 python process running the whole time while you are in your repl so the hashes always match, because no random salt is generated inside python, but in the new repl running the code actually creates a new python process which generates new random salt internally so your hashes dont equal.

5 Likes