|
3 | 3 | SQLCipher for Android provides a library replacement for `android.database.sqlite` on the Android platform for use on [SQLCipher](https://github.com/sqlcipher/sqlcipher) databases. This library is based on the upstream [Android Bindings](https://www.sqlite.org/android/doc/trunk/www/index.wiki) project and aims to be a long-term replacement for the original [SQLCipher for Android](https://github.com/sqlcipher/android-database-sqlcipher) library. |
4 | 4 |
|
5 | 5 | > [!CAUTION] |
6 | | -> ## SQLCipher 5.0.0-beta details |
| 6 | +> ## SQLCipher 5.0.0-beta.1 details |
7 | 7 | > Summary: |
8 | | -> - Changes architecture to use VFS shims |
9 | | -> - Uses AEAD Encryption with AES-256-GCM |
10 | | -> - Increases KDF iteration increase to 512K |
11 | | -> - Increase default page size to 8192 bytes |
12 | | -> - Adds encryption and decryption support to PRAGMA rekey |
13 | | -> - **BREAKING CHANGES** - see [CHANGELOG.md](https://github.com/sqlcipher/sqlcipher/blob/v5.0.0-beta/CHANGELOG.md#500-beta----2026---500-beta-changes) and [release announcement](https://www.zetetic.net/blog/2026/09/15/sqlcipher-5.0.0-beta/) |
| 8 | +> - Changes architecture to use codec |
| 9 | +> - Adjusts KDF iteration back to 256K |
| 10 | +> - Rekey support for databases in WAL mode with concurrent connections |
| 11 | +> - Journal spill behavior is now locked down to prevent plaintext writes |
| 12 | +> - Fixed a bug where cipher_hmac_fast_kdf could write the page HMAC past the reserved area |
| 13 | +> - Improved error handling and reporting for rekey failures |
| 14 | +> - Fixed shared cache connections for encrypted databases |
| 15 | +> - Added PRAGMA cipher_selftest for verifying internal implementations |
| 16 | +> - **BREAKING CHANGES** - see [CHANGELOG.md](https://github.com/sqlcipher/sqlcipher/blob/beta/CHANGELOG.md#500-beta1---oct-2026---500-beta1-changes) and [release announcement](https://www.zetetic.net/blog/2026/10/22/sqlcipher-5.0.0-beta.1/) |
14 | 17 |
|
15 | 18 | ### Compatibility |
16 | 19 |
|
@@ -129,7 +132,7 @@ There are two different compile-specific options available to alter the logging |
129 | 132 | To manage the logging produced from SQLCipher core, please review the runtime configurations: [`PRAGMA cipher_log`](https://www.zetetic.net/sqlcipher/sqlcipher-api/#cipher_log), |
130 | 133 | [`PRAGMA cipher_log_level`](https://www.zetetic.net/sqlcipher/sqlcipher-api/#cipher_log_level), and [`PRAGMA cipher_log_source`](https://www.zetetic.net/sqlcipher/sqlcipher-api/#cipher_log_source). |
131 | 134 |
|
132 | | -### Building |
| 135 | +### Building |
133 | 136 |
|
134 | 137 | This project and it's dependencies can be built directly within Android Studio. Currently, SQLCipher for Android uses NDK version "25.2.9519653". The repository includes a submodule for SQLCipher core, and LibTomCrypt as external dependencies. When cloning the repository, please execute the following command at the root of the project (the build phase will check for this on your behalf): |
135 | 138 |
|
|
0 commit comments