UNPKG

epps

Version:

Enhances Pinia stores with advanced features such as persistence, encryption, and store extension. Simplifies state management and ensures data security for Vue.js and Nuxt applications.

18 lines (17 loc) 449 B
export default class Crypt { private _key; private _iv; constructor(key: string, iv: string); /** * Decrypt string passed in parameter * @param {string} item - encrypted string * @returns {string} decrypted item */ decrypt(item: string): string; /** * Encrypt string passed in parameter * @param {string} item * @returns {string} encrypted item */ encrypt(item: string): string; }