cipherdata
v1.0.1
Published
Simple package to encrypt and decrypt strings
Downloads
2
Maintainers
Readme
CipherData
Installation
npm i cipherdata
Example
const
cipherData = require("cipherdata"),
cipher = new cipherData();
let crypt = cipher.encryptData("Hello World");
// -> <Buffer 78 6a 2b 53 60 0c 44 c8 8d fa 51 d4 cb 83 24 98>
crypt.toString();
// -> xj+S`♀Dȍ�Q�˃$�
cipher.decryptData(crypt)
// -> Hello World