I have a project as graduation thesis. i have to write a password manager app. in this app, many users can create, login their account and manage their data such as facebook account, gmail, tiktok,... and required using SQLite Cipher to encrypt each user's data ( the key to encrypt data is hashed from user password) So , how can i do for creating each database for each user? The example,
- user A create his account: username A , password a12345. after A login, the database of A is A_db.db
- user B create his account: username B , password b12345. after B login, the database of b is B_db.db.
You don't need a database per user. Each user will have it's own copy of the database in their platform (I guess you are planning to create an Android app from the tags). So, you must design the database so that each user will use its own copy independently of other users.