kvs 0.0.3 copy "kvs: ^0.0.3" to clipboard
kvs: ^0.0.3 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 = await KVS.init<String, int>(
    name: 'storeName',
    cipher: AESGCM256(key: 'mySecretKey'),
  );

  localStorage['year'] = 2023;
  localStorage['year']; // 2023
  localStorage.length; // 1
  localStorage.addAll({
    'month': 1,
    'date': 1,
  });
  localStorage.length; // 3
}
2
likes
0
points
38
downloads

Publisher

verified publisherensorta.com

Weekly Downloads

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

License

unknown (license)

Dependencies

cryptography, cryptography_flutter, flutter, path_provider

More

Packages that depend on kvs