rspl_secure_vault 0.0.1 copy "rspl_secure_vault: ^0.0.1" to clipboard
rspl_secure_vault: ^0.0.1 copied to clipboard

A secure encryption plugin for Flutter using envelope encryption with platform-specific key management. Leverages iOS Secure Enclave/Keychain and Android Keystore for hardware-backed key protection.

Changelog #

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

0.0.1 #

Added #

  • Initial release of RSPL Secure Vault
  • Envelope encryption with unique DEK (Data Encryption Key) per operation
  • Hardware-backed key storage:
    • iOS: Secure Enclave + Keychain
    • Android: Android Keystore with StrongBox support (when available)
  • AES-256-GCM encryption for all stored data
  • ECDH P-256 key agreement for secure key derivation
  • HKDF-SHA256 for key derivation function
  • Simple, secure-by-default API:
    • store(key, value) - Encrypt and store data
    • retrieve(key) - Retrieve and decrypt data
    • remove(key) - Remove specific key-value pair
    • clear() - Remove all stored data
    • containsKey(key) - Check if key exists
  • Internal security audit (62/62 checks passed)
  • 100% Dart test coverage

Security #

  • Cryptographically secure random number generators for all encryption
  • Per-operation unique nonces prevent nonce reuse attacks
  • GCM authentication tags (128-bit) ensure data integrity
  • Master keys never leave hardware security module
  • Debug logging gated behind kDebugMode (Dart) and #if DEBUG (native)
  • No sensitive data in error messages or logs

Documentation #

  • Comprehensive README with quick start guide
  • Common use cases (auth tokens, API keys)
  • Error handling guide
  • FAQ section
  • Security Audit report (SECURITY_AUDIT.md)
  • Architecture diagrams
4
likes
0
points
154
downloads

Publisher

verified publisherrishabhsoft.com

Weekly Downloads

A secure encryption plugin for Flutter using envelope encryption with platform-specific key management. Leverages iOS Secure Enclave/Keychain and Android Keystore for hardware-backed key protection.

Repository (GitHub)
View/report issues

Topics

#encryption #security #secure-storage #keychain #keystore

License

unknown (license)

Dependencies

flutter, flutter_secure_storage, plugin_platform_interface

More

Packages that depend on rspl_secure_vault

Packages that implement rspl_secure_vault