6adf97f83acf6453d4a6a4b1070f3754
is actually md5 value of "None", so maybe you get something wrong elsewhere.
Let's say you didn't actually get the passw
from request.forms, and parse the None
to str(), then gives it to md5().hexdigest(), you'll just get the result.