security_client 0.1.0 copy "security_client: ^0.1.0" to clipboard
security_client: ^0.1.0 copied to clipboard

Stupid Simple Encrypted Storage.

Flutter Security Client #

Stupid simple Security Client for storing encrypted data locally.

About #

This project uses SQLite as the database for the encrypted keys and, for the encryption part, it uses the SQLCipher layer through the sqflite lib.

Getting Started #

An instance of SecurityClient can be created easily by passing just two params to its static constructor:

Package isn't available through pub.dev yet.

final SecurityClient securityClient = await SecurityClient.create("<db-name>", "<db-password>");

// e.g.
final SecurityClient securityClient = await SecurityClient.create("my-cool-database", "1234567890");

Multiple instances can be created at once since each client will use a separate database file for each one.

API #

For more information regarding all the available methods, the documentation can be found here.

Demo #

The demo folder contains a demonstration of a SecurityClient's implementation.

To run the demo, you must pass an environment variable called GLOBAL_SECURITY_CLIENT_PASSWORD with any text value.

The demo project is using Redux for state management.

Contributing #

The SecurityClient development files is located in the root of this repository.

There aren't any special processes to this step, so to start contributing:

  1. Have Flutter installed;
  2. Clone the project;
  3. Install the dependencies with flutter pub get.
0
likes
110
pub points
0%
popularity

Publisher

unverified uploader

Stupid Simple Encrypted Storage.

Homepage

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter, path, sqflite, sqflite_sqlcipher

More

Packages that depend on security_client