JSPM

encrypted-local-storage

0.1.5
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q41289F
  • License MIT

Simply use aes encrypted local storage

Package Exports

  • encrypted-local-storage
  • encrypted-local-storage/src/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (encrypted-local-storage) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Contributors Forks Stargazers Issues MIT License LinkedIn


Logo

encrypted-local-storage

Simply use aes encrypted Local storage
Explore the docs »

View Demo · Report Bug · Request Feature

Table of Contents
  1. About Project
  2. Built With
  3. Features
  4. Installation
  5. Usages
  6. Note
  7. Browser Support
  8. License

About Project

This is fully secure local storage with AES Encryption. You can store encrypted local storage. This is specially you can use unlimited length key and store unlimited length of string value in local storage. Encrypt Json array also storable. It's have default key value and you can change own key value to store.

(back to top)

Built With

(back to top)

Features

  • AES-unlimited encryption local storage service without key
  • AES-unlimited decryption local storage service without key
  • AES-unlimited encryption local storage service with key
  • AES-unlimited decryption local storage service with key
  • well secure AES Encryption
  • You can store string array

(back to top)

Installation

This is a Node.js module available through the npm registry.

Before installing, download and install Node.js. Node.js 0.10 or higher is required.

Installation is done using the npm install command:

Using npm:

$ npm i encrypted-local-storage

Using yarn:

$ yarn add encrypted-local-storage

(back to top)

Usage

import LocalStorageService from "encrypted-local-storage";

//WithoutKey

LocalStorageService.setItem("userName", "Bavaram"); //set Local storage  (key,value)
LocalStorageService.getItem("userName"); //get Local storage (key)


//WithKey
// Note: secretKey can be unlimited letters

LocalStorageService.setItem("userName", "Bavaram","passCode"); //set Local storage  (key,value,encrypt_key)
LocalStorageService.getItem("userName","passCode"); //get Local storage (key,encrypt_key)

 

(back to top)

Note

LocalStorageService.getItem() //=>returns  value string
// (If encrypted key is wrong => "")
// (Local storage is not available   => ")

(back to top)

Browser Support

Native support

  • Chrome
  • Safari
  • FireFox

(back to top)

License

MIT

Developed by Karunaaharan Bavaram

(back to top)

Copyright (c) 2022 Karunaaharan Bavaram, contributors. Released under the MIT, GPL licenses

(back to top)