1.0.11 • Published 4 years ago
@vikingsx/cryptostorage v1.0.11
cryptostorage
DO NOT USE THIS PLUGIN PACKAGE !!
Requirements:
- Node.js
- npm (Node.js package manager)
npm install @vikingsx/cryptostorage
- import plugin
import Storage from '@vikingsx/cryptostorage'
- use plugin in Vue
Vue.use(Storage)
How to use ?
- 【 encrypt sessionStorage / localStorage 】
this.$_storage_set(localStorage, 'key', 'value')
this.$_storage_set(sessionStorage, 'key', 'value')
- 【 decrypt sessionStorage / localStorages 】
this.$_storage_get(localStorage, 'key')
this.$_storage_get(sessionStorage, 'key')