David Martos
David Martos
@MojtabaTavakkoli This is just a wrapper around the SQLCipher native libraries. You can research about SQLCipher online to see if it is appropriate for your use case. With the library...
@MojtabaTavakkoli If you are looking for examples on how to use the library I'd recommend checking out the sqflite docs which show how to insert and query a database. https://github.com/tekartik/sqflite/blob/master/sqflite/doc/how_to.md...
@MojtabaTavakkoli Alright, I see what you mean. I personally have the same use case as you. What I do is I create a preloaded database from my development environment (Linux),...
@MojtabaTavakkoli Thanks! Happy you got it working. @Thetyne I'm using SqliteBrowser on Linux, but in order to have SqlCipher support you need to compile it yourself. That is what I...
@Thetyne I forgot to mention, you need to make sure that the sqlcipher version installed on your machine is 4.x and not 3.x. This is because the version of the...
@Thetyne Another option that may be simpler is to decrypt the database from command line and open it with regular SqliteBrowser to inspect. This is a script I use: ```bash...
@fauzy6493 At first glance it looks like it's ok. It's basically how the database is opened in the [plugin implementation](https://github.com/davidmartos96/sqflite_sqlcipher/blob/af9c519161d719e9d256e57ae3d288b27d26ac13/sqflite/android/src/main/java/com/davidmartos96/sqflite_sqlcipher/Database.java#L50). Are you able to open it from Flutter? Make sure...
> i try this step for check in terminal: > > * sqlite3 > * sqlite> .open my.db > * sqlite> select * from mytable; > **Error: file is not...
@fauzy6493 Why do you need `androidx.sqlite:sqlite` as a dependency? That will not encrypt the database. You need to use this one: `implementation 'net.zetetic:android-database-sqlcipher:4.4.0'`
> Hello, > I have a preset SQLite dB in my flutter app and I just want to set a password to it so I can open it later in...