vault 0.0.3 copy "vault: ^0.0.3" to clipboard
vault: ^0.0.3 copied to clipboard

Save key value pairs securely

Vault #

A library that stores int, double, String and bool in encrypted storage. Vault stores it's contents in persistent storage.

Usage #

Import package as vault.

import 'package:vault/vault.dart' as vault;

Save #

You can save a value in secure storage by passing a key.

vault.save(key, value);

Get #

You can get a value from secure storage by passing their key.

vault.get(key);

Listen #

You can listen to live changes done to a value by passing their key.

vault.listen(key);

Delete #

You can delete a value by passing their key.

vault.delete(key);

Delete All #

Deletes all the values stored in vault.

vault.listen(key);

Contributing #

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License #

MIT