@p1ku99/encrypted-storage
v0.1.2
Published
Package to encrypt data in storage, compatible with zustand persist
Downloads
6
Maintainers
Readme
Secure Storage for sensitive data
This Package aims to automatically encrypt your data in localStorage or cookies
use case with zuzstand persist
persist(
(setState, getState, store) => ({
...createSlice(setState, getState, store),
}),
{
name: secureStoreName,
storage: createJSONStorage(() => cookiesSecureStorage),
},
)