secure_store library

Unified secure storage with built-in encryption and pluggable backends.

For file-based persistence (non-web), import the file backend separately:

import 'package:philiprehberger_secure_store/file_backend.dart';

Classes

Encryption
Encryption utility using XOR with a key-derived pseudorandom pad.
MemoryBackend
In-memory storage backend. Data is lost when the process exits.
NamespacedStore
A namespaced view of a SecureStore that prefixes all keys.
SecureStore
Unified secure storage with built-in encryption and pluggable backends.
StorageBackend
Abstract interface for storage backends.

Exceptions / Errors

EncryptionError
Thrown when encryption or decryption fails.
KeyNotFoundError
Thrown when a requested key is not found.
SecureStoreError
Errors that can occur during secure storage operations.