drift/extras/encryption
Simon Binder da212944ff
Replace old website and repository links
2022-03-13 15:52:15 +01:00
..
lib Organize imports 2021-09-10 11:43:21 +02:00
.gitignore Publish a simple encrypted version for moor 2019-07-24 19:23:25 +02:00
README.md Replace old website and repository links 2022-03-13 15:52:15 +01:00
pubspec.yaml Replace moor impl with exports 2021-10-07 22:16:05 +02:00

README.md

Moor version that uses the sqflite_sqlcipher instead of sqflite.

Using this

For general notes on using moor, see this guide.

Instead of using moor_flutter, use this:

dependencies:
  moor: "$latest version"
  encrypted_moor:
   git:
    url: https://github.com/simolus3/drift.git
    path: extras/encryption

To use this, you can stop depending on moor_flutter. Then, instead of using a FlutterQueryExecutor, import package:moor/moor.dart and package:encrypted_moor/encrypted_moor.dart.

You can then replace the FlutterQueryExecutor with an EncryptedExecutor.