Comments (6)
Not at the moment but that could easily be implemented by encrypting each record when saved to disk. It might have a performance impact at start time.
I will look into it, likely not before a week or 2. One solution I see would be to provide a way to decrypt/encrypt a record using a user function so that any algorithm could be provided
from sembast.dart.
I added a way to support encryption and an example of an encrypted database in 1.13.3 published on pub.
More information here: https://github.com/tekartik/sembast.dart/blob/master/sembast/doc/codec.md
from sembast.dart.
Thanks.
from sembast.dart.
The above link doesn't work, could you please add a sample code in an example project or provide a code snippet here encrypt a database. Thanks
from sembast.dart.
Sorry. I updated the link https://github.com/tekartik/sembast.dart/blob/master/sembast/doc/codec.md which contains a snippet. You can look at the unit test here as well:
sembast.dart/sembast/test/compat/doc_test.dart
Lines 113 to 119 in ea5ac4d
from sembast.dart.
from sembast.dart.
Related Issues (20)
- Deleted row in the .db file HOT 7
- Using sync to fetch data HOT 3
- Any database viewer is available to view the sembast db file HOT 1
- Export JsonEncodableCodec type HOT 4
- Copy db file on flutter web for upload / backup HOT 2
- Need a way to reload the database / detect that it was changed by an external process. HOT 4
- Error in mobile web browser HOT 2
- Sembast web limitation HOT 2
- how to rename a store? HOT 2
- Pagination not working HOT 2
- Store record with custom key HOT 1
- Ambiguity around null record value HOT 3
- null check on null value HOT 4
- Problem: record is updated even merged is false HOT 5
- Reload data from database HOT 3
- OutOfMemoryError: Out of Memory HOT 10
- Can not filter by timestamp. HOT 2
- Delete all records take a long time HOT 1
- Encryption and already not encrypted databases HOT 10
- Relationships HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sembast.dart.