super_cache_secure_flutter library

Flutter-specific extensions for super_cache_secure.

Imports this library in Flutter projects to get the full API, including the production FlutterSecureKeyStore backed by iOS Keychain and Android Keystore:

import 'package:super_cache_secure/super_cache_secure_flutter.dart';

final cache = SecureCache<String, Token>(
  keyStore: FlutterSecureKeyStore(),
  codec: const TokenCodec(),
);
await cache.initialize();

Classes

CacheEncryptionConfig
Configures how SecureCache manages its AES-256-GCM key and handles plaintext bytes after encryption.
FlutterSecureKeyStore
KeyStore backed by FlutterSecureStorage.
KeyStore
Abstraction over platform-specific secure key storage.
SecureCache<K, V>
An encrypted in-memory cache that stores values as AES-256-GCM ciphertext.