Preparing for system design interviews?  Try bugzed.com →

React Secure Storage

JSON →
library 1.3.2 ·javascript
verified Jun 7, 2026

React Secure Storage (v1.3.2) is a wrapper around localStorage that encrypts stored data using a browser fingerprint and an optional user-provided secret key. It generates a unique encryption key per browser, ensuring data can only be decrypted in the same browser that encrypted it. Supports storing String, Object, Number, and Boolean without manual serialization. Uses a singleton pattern for in-memory caching. Works with React, Vite, and Next.js via environment variables. Lightweight and dependency-free. Compatible with TypeScript.

total hits 17
actors 3 distinct systems
last hit 24d ago GPTBot
GPTBot
3
Amazonbot
3
ByteDance
3
Humans
8

top countries 🇸🇬 Singapore · 🇺🇸 United States · VN · KE · MD