Encryption is mentioned zero times in the WebSQL and IndexedDB specs.
Similar, but incomplete, questions are here, here, here.
I was wondering if you could encrypt the data on the server so that the decryption key is the user's password, then hash their password in the offline database. Once they have logged in we have our decryption key. That seems reasonable, right?