Skip to content

Commit 0e0b170

Browse files
committed
More polish
1 parent d4f159f commit 0e0b170

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

packages/powersync_sqlcipher/README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ This package (`powersync_sqlcipher`) is the PowerSync client SDK for Flutter wit
1010

1111
If you do not require encryption, we recommend using the [`powersync`](/packages/powersync/README.md) SDK.
1212

13-
1413
### Installing PowerSync with SQLCipher encryption in your own project
1514

1615
Install the latest version of the package, for example:
@@ -21,7 +20,6 @@ flutter pub add powersync_sqlcipher
2120

2221
Version history can be found [here](https://pub.dev/packages/powersync_sqlcipher/versions).
2322

24-
)
2523
### Usage
2624

2725
This SDK requires a slightly different setup to the `powersync` package in order to encrypt the local database:
@@ -33,7 +31,7 @@ import 'package/powersync_sqlcipher/powersync.dart';
3331
late final PowerSyncDatabase db;
3432
3533
final cipherFactory = PowerSyncSQLCipherOpenFactory(
36-
path: path, key: "sqlcipher-encryption-key");
34+
path: path, key: "sqlcipher-encryption-key"); // https://www.zetetic.net/sqlcipher/sqlcipher-api/#key
3735
3836
db = PowerSyncDatabase.withFactory(cipherFactory, schema: schema);
3937
```

0 commit comments

Comments
 (0)