boxx 0.1.6 copy "boxx: ^0.1.6" to clipboard
boxx: ^0.1.6 copied to clipboard

Boxx is your ultimate key-value storage plugin with built-in encryption

Store, retrieve, and protect your data effortlessly with AES or Fernet encryption. Whether you need blazing-fast key-value storage or encrption Boxx has you covered.

Features #

Boxx is a lightweight storage solution with optional encryption built in. Its simple, powerful, & intuitive API get's you up and running in no time.

✅ Simple – Easy-to-use key-value interface

✅ Secure – Choose between AES-256 or Fernet encryption

✅ Versatile – Perfect for configs, secrets, or sensitive data

Getting started #

Without Encryption

late Boxx box;

Future<void> main() async {
  WidgetsFlutterBinding.ensureInitialized();

  initBox();
}



initBox() {
    box = Boxx(mode: EncryptionMode.none);
}

With Encryption

late Boxx box;

Future<void> main() async {
  WidgetsFlutterBinding.ensureInitialized();

  initBox();
}



initBox() {
    box = Boxx(mode: EncryptionMode.aes,encryptionKey: 'xxxxxxxx');
}

Usage #

Delete

    box.delete('UserData');

Get

 final contents = await box.get('UserData');

Put

box.put('UserData', response.body);

encrption/decryption

  String t1 = box.encrypt('Hello World');
  debugPrint(t1);
  String t2 = box.decrypt(t1);
  debugPrint(t2);
2
likes
160
points
41
downloads

Publisher

verified publisherworkforceanalytics.co.za

Weekly Downloads

Boxx is your ultimate key-value storage plugin with built-in encryption

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

encrypt, flutter, idb_shim, path_provider, web

More

Packages that depend on boxx