Is data in IndexedDB encrypted?
No, not by default. IndexedDB stores data in plaintext on the user's disk, and any script on the origin can read it. If you need confidentiality you must encrypt values yourself in the application, for example with the Web Crypto API, before writing them to the database.