【发布时间】:2018-10-18 08:02:20
【问题描述】:
我正在通过以下代码在 Flutter 中创建一个数据库,有什么方法可以加密数据库吗?
是否有任何可用于 Flutter 的库?
initDb() async {
io.Directory documentsDirectory = await getApplicationDocumentsDirectory();
String path = join(documentsDirectory.path, "test.db");
var theDb = await openDatabase(path, version: 1, onCreate: _onCreate);
return theDb;
}
【问题讨论】:
标签: flutter flutter-layout sqlcipher flutter-dependencies