Werkzeug started is a simple collection of various utilities for WSGI applications and it becomes one of the most advanced WSGI utility modules in Python and is used to build many advanced frameworks such as Flask.
Here is how you can use Werkzeug hashing in your apps. In order to do this, you may need the following import statement.
from werkzeug.security import generate_password_hash, check_password_hash
The hashing is simplified with generate function.
hash_password = generate_password_hash(form.password.data, method='sha256')
The check password method will validate the input. In both cases, you can see the URL contain the hash strings instead of the regular password string.
For more help Please refer,