Hello guys, is there any way to do encryption on SQLDelight on desktop/jvm ? I know that we can do it on Android and iOS. How to do it on desktop/jvm ?
e
eygraber
06/15/2025, 8:38 PM
Probably by using sqlcipher.
There was also an interesting POC using the AndroidX KMP SQLite library to implement it using SQLite Encryption Extension, but I can't find that now. It was actually wrapping SQLCipher, and was from this talk (starts at about 13:00)
m
Mark
06/16/2025, 4:27 AM
Out of interest, is there are way to encrypt on Android/iOS without sqlcipher?
b
Binish Mathew
06/16/2025, 4:30 AM
@eygraber I think the talk you have shared is about doing it on the Android target. I wanna know how to do it on desktop/jvm.
Binish Mathew
06/16/2025, 4:32 AM
Can we use SQLCipher on desktop/jvm as well ? Is there any open source example of this ?
e
eygraber
06/16/2025, 9:45 AM
@Binish Mathew AndroidX KMP SQLite and SqlCipher are both available on desktop/JVM