I am making an offline Browser extension that stores some sensitive data (think of it like a password manager).
How do I go about storing and retrieving this data while maintaining the ability to query it ?
Do I store encrypted data and then decrypt it all into memory once the user types his password? and are there any existing, well-maintained libraries that handle this sort of thing ?