# SQLCipher 5.0.0-beta.1

**URL:** <https://discuss.zetetic.net/t/sqlcipher-5-0-0-beta-1/7287>\
**Category:** Updates\
**Created:** [October 22, 2026, 6:25pm UTC](https://discuss.zetetic.net/t/sqlcipher-5-0-0-beta-1/7287 "2026-10-22T18:25:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sjlombardo](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.zetetic.net/sjlombardo/32/3_2.png) [@sjlombardo](https://discuss.zetetic.net/u/sjlombardo)\
**Post date:** [October 22, 2026, 6:25pm UTC](https://discuss.zetetic.net/t/sqlcipher-5-0-0-beta-1/7287/1 "2026-10-22T18:25:01Z")

</div>

We are pleased to announce the availability of SQLCipher 5.0.0-beta.1.

WARNING: This should only be used for beta testing at this time, not in production. It includes major functional, API, and behavioral changes that are NOT COMPATIBLE with SQLCipher 4 and earlier by default.

SQLCipher 5.0.0-beta.1 details: [SQLCipher 5.0.0-beta.1 | Zetetic](https://www.zetetic.net/blog/2026/10/22/sqlcipher-5.0.0-beta.1/)

Changes between 5.0.0-beta to 5.0.0-beta.1:

- Changes architecture to use codec
- Adjusts KDF iteration back to 256K
- Rekey support for databases in WAL mode with concurrent connections
- Journal spill behavior is now locked down to prevent plaintext writes
- Fixed a bug where `cipher_hmac_fast_kdf` could write the page HMAC past the reserved area
- Improved error handling and reporting for rekey failures
- Fixed shared cache connections for encrypted databases
- Added `PRAGMA cipher_selftest` for verifying internal implementations

Summary of major version 5 changes:

- Uses AEAD Encryption with AES-256-GCM
- Increase default page size to 8192 bytes
- Adds encryption and decryption support to PRAGMA rekey
- 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/)
