python - create password hash / test password against hash