medzyencdev
v3.0.0
Published
The best and Secured Encryption & Decryption / ALGO
Downloads
15
Maintainers
Readme
MedzyEncDec / Encrypt / Decrypt your data securely and strong.
This encryption has two stack encryption i.e. When you enter your text it double encrypts it. It first encrypt it using your actual key and then for the upper encryption you see, it encrypts it with a mixed data with your key. Those data're being hidden. Only the encryption algorithm knows.
This encryption doesn't work on any other encryption algorithm.
INSTALLATION
npm i medzyencdev
OR
npm i medzyencdev@{include the recent version number} - ex = [npm i [email protected]]
USAGE
REACT
import React from 'react';
import { medzyencdev } from 'medzyencdev'
function MYENCRYPTION({key}){
let encrypt = medzyencdev.enc('Things inside here can be an object or just a string like this.', key)
console.log(encrypt)
// Encrypted... ***
//Decrypted ... ***
let decrypt = medzyencdev.dec( encrypt, key)
console.log(decrypt)
return (...)
}
NODEJS / JUST JS
const {medzyencdev} = require('medzyencdev')
let encrypt = medzyencdev.enc('Things inside here can be an object or just a string like this.', key)
console.log(encrypt)
// Encrypted... ***
//Decrypted ... ***
let decrypt = medzyencdev.dec( encrypt, key)
console.log(decrypt)