Skip to content

[Drift] SQLCipher restored as a native-platform encryption option in Dart SDK (powersync.dart #433) #512

@benitav

Description

@benitav

What's changing: The Dart SDK restores SQLCipher as a supported encryption backend for native platforms alongside sqlite3 Multiple Ciphers (sqlite3mc). Users choose between them via the source key in pubspec.yaml (sqlite3mc or sqlcipher). SQLCipher is not available on the web; sqlite3mc remains the only option there.

High priority — existing docs are now inaccurate or incomplete

  • Data Encryption page (https://docs.powersync.com/client-sdks/advanced/data-encryption) — the Dart/Flutter section opens with "The PowerSync SDK supports SQLite3MultipleCiphers on all native platforms and the web" and the setup snippet shows source: sqlite3mc as the only pubspec.yaml option. SQLCipher is now also available for native platforms via source: sqlcipher, and provides performance advantages on Apple targets by using system encryption frameworks. The section makes no mention of SQLCipher, leaving users unaware it is available and presenting sqlite3mc as the complete picture for native Dart encryption.

For reviewer consideration — may be worth documenting
None.

Source PR: powersync-ja/powersync.dart#433 — merged 2026-06-16.

Filed automatically by Claude Code (claude-sonnet-4-6). A human must verify the scope, prepare the docs PR, and publish it only once this update has been released.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions