Can a sqlcipher database be unkeyed?


#1

I have backed myself into a bit of a corner. I started a project I am working on in a language that has sqlcipher support and now I am stuck using Java for part of my project. I am wondering if it is possible to unkey or permanently decrypt the database.


#2

Hello @fedorareis

You can utilize the sqlcipher_export(…); convenience function, documented here to export a SQLCipher database to a plain text SQLite database. Specifically, you will want to review example #2.