kvs 0.1.1 copy "kvs: ^0.1.1" to clipboard
kvs: ^0.1.1 copied to clipboard

High performance persistant memory based key-value storage with AES256 encryption. Support all features and can be used as drop-in of Dart Map<K,V>.

example/main.dart

import 'package:kvs/cipher.dart';
import 'package:kvs/kvs.dart';

void main() async {
  var localStorage = KVS<String, int>(
    name: 'storeName',
    cipher: AESGCM256(key: 'mySecretKey'),
  );

  // initialize the storage
  localStorage.init();

  localStorage['year'] = 2023;
  localStorage['year']; // 2023
  localStorage.length; // 1
  localStorage.addAll({
    'month': 1,
    'date': 1,
  });
  localStorage.length; // 3
}
1
likes
140
pub points
71%
popularity

Publisher

verified publisherensorta.com

High performance persistant memory based key-value storage with AES256 encryption. Support all features and can be used as drop-in of Dart Map<K,V>.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

cryptography, cryptography_flutter, flutter, path_provider

More

Packages that depend on kvs