to encrypt decrypt data
npm install encrypto-decryptojs```
npm i encrypto-decryptojs --save
To encrypt
`js
import React from "react";
import { encrypto } from "encrypto-decryptojs";
export default function App() {
const encrypted = encrypto(data);
return
To decrypt
use encrypted data to decrypt it
`js
import React from "react";
import { encrypto, decrypto } from "encrypto-decryptojs";export default function App() {
const encrypted = encrypto(data);
const decrypted = decrypto(encrypted);
return
{decrypted};
}
``