I have a browser based project where I want to use an encrypted database. SQLite already has a WASM build that can use Origin Private File System for storage, and I managed to get sqlcipher building for WASM as well. I used a WASM build of OpenSSL for encryption, but had to comment out the use of mlock due to limitations in the WASM memory model.
It’s in a very hacky state right now, but I was wondering if it would be worth cleaning up and contributing. I’m also not sure how the removal of mlock affects security.
If Zetetic is interested, let me know and I’ll sign the CLA see if I can get a PR together.