How to encrypt the SQLite database in Flutter?
问题 I am creating a database in Flutter by the following code, is there any way we can encrypt the database? Is there any library available for 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; } 回答1: Pointy Castle seems to be the encryption library of choice at the moment. 回答2: Current sqflite uses