You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: resources/demo-apps-example-projects.mdx
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -63,6 +63,9 @@ Example projects are listed under backend they use, but you can easily wire up y
63
63
*[example-nextjs](https://github.com/powersync-ja/powersync-js/blob/main/demos/example-nextjs/README.md): A minimal example demonstrating setup with [Next.js](https://nextjs.org/).
64
64
*[example-webpack](https://github.com/powersync-ja/powersync-js/blob/main/demos/example-webpack/README.md): A minimal example demonstrating bundling with [Webpack](https://webpack.js.org/).
65
65
*[example-vite](https://github.com/powersync-ja/powersync-js/blob/main/demos/example-vite/README.md): A minimal example demonstrating bundling with [Vite](https://vitejs.dev/).
66
+
67
+
#### Other
68
+
*[example-vite-encryption](https://github.com/powersync-ja/powersync-js/blob/main/demos/example-vite-encryption/README.md): A minimal example demonstrating encryption of the web database.
Copy file name to clipboardExpand all lines: usage/use-case-examples/data-encryption.mdx
+18-6Lines changed: 18 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,12 +8,10 @@ Data is always encrypted in transit using TLS — both between the client and Po
8
8
9
9
### At Rest Encryption
10
10
11
-
The client-side database can be encrypted at rest using [SQLCipher](https://www.zetetic.net/sqlcipher/).
12
-
13
-
This is currently available for:
11
+
The client-side database can be encrypted at rest. This is currently available for:
14
12
15
13
<Accordiontitle="Flutter"icon="flutter">
16
-
SQLCipher support is available for Flutter through the `powersync_sqlcipher` SDK. See usage details in the package README:
14
+
[SQLCipher](https://www.zetetic.net/sqlcipher/) support is available for Flutter through the `powersync_sqlcipher` SDK. See usage details in the package README:
17
15
18
16
<Card
19
17
title="powersync_sqlcipher"
@@ -24,7 +22,7 @@ SQLCipher support is available for Flutter through the `powersync_sqlcipher` SDK
SQLCipher support is available for React Native through the `@powersync/op-sqlite` package. See usage details in the package README:
25
+
[SQLCipher](https://www.zetetic.net/sqlcipher/) support is available for PowerSync's React Native SDK through the `@powersync/op-sqlite` package. See usage details in the package README:
28
26
29
27
<Card
30
28
title="npm: @powersync/op-sqlite"
@@ -34,9 +32,23 @@ SQLCipher support is available for Flutter through the `powersync_sqlcipher` SDK
34
32
/>
35
33
</Accordion>
36
34
35
+
<Accordiontitle="JavaScript Web"icon="js">
36
+
The Web SDK uses the [ChaCha20 cipher algorithm by default](https://utelle.github.io/SQLite3MultipleCiphers/docs/ciphers/cipher_chacha20/). See usage details in the package README:
Additionally, a minimal example demonstrating encryption of the web database is available [here](https://github.com/powersync-ja/powersync-js/tree/main/demos/example-vite-encryption).
45
+
</Accordion>
46
+
47
+
<Note>
48
+
Support for encryption on other platforms is planned. In the meantime, let us know your needs and use cases on [Discord](https://discord.gg/powersync).
49
+
</Note>
37
50
38
51
39
-
Support for SQLCipher on other platforms is planned. In the meantime, let us know with your needs and use cases on [Discord](https://discord.gg/powersync).
0 commit comments