super_cache_secure 1.0.0 copy "super_cache_secure: ^1.0.0" to clipboard
super_cache_secure: ^1.0.0 copied to clipboard

AES-256-GCM secure caching layer for super_cache. Integrates with iOS Keychain and Android Keystore via flutter_secure_storage.

Changelog #

All notable changes to super_cache_secure are documented here. Releases follow Semantic Versioning.


1.0.0 — 2024-01-01 #

Stable public release. API is frozen.

Changed #

  • Version aligned with the rest of the super_cache family.
  • Documentation improvements across all public symbols.

0.3.0 #

Added #

  • SecureCache<K,V> — AES-256-GCM in-memory cache. Each entry is individually encrypted; the nonce and MAC are stored alongside the ciphertext so tampering is detected on get().
  • KeyStore abstract interface — inject any key storage backend in tests without a dependency on flutter_secure_storage.
  • FlutterSecureKeyStore — production KeyStore backed by flutter_secure_storage. Uses encryptedSharedPreferences: true on Android and the Keychain on iOS/macOS.
  • CacheEncryptionConfigkeyAlias and wipeOnEviction options. When wipeOnEviction is true, the intermediate plaintext Uint8List is zeroed out after encryption (best-effort; managed-runtime caveat documented in README).
  • SecureCache.initialize() — reads or generates the 256-bit AES key, persists it via KeyStore. Must be called before any get/put.
  • Barrel split: super_cache_secure.dart (pure Dart core) and super_cache_secure_flutter.dart (exports FlutterSecureKeyStore).
1
likes
150
points
101
downloads

Publisher

verified publisherjihedmrouki.com

Weekly Downloads

AES-256-GCM secure caching layer for super_cache. Integrates with iOS Keychain and Android Keystore via flutter_secure_storage.

Repository (GitHub)
View/report issues

Topics

#cache #caching #encryption #security #storage

Documentation

API reference

License

MIT (license)

Dependencies

cryptography, flutter, flutter_secure_storage, super_cache

More

Packages that depend on super_cache_secure