How to encrypt data using the password from User
Use session to store user information, the Flask-Login extension would be a good choice for you.
I have a flask site. It's specifically a note app. At the moment I am storing the user notes as plaintext. That means that anyone with access to the server which is me has access to the notes. I want to encrypt the data with the user password, so that only the user can access it using their password, but that would require the user to input his/her password each time they save their notes, retrive the notes or even updates them. I am hashing the password obviously.
Anyone has any idea how this could be done?