1.0.1 • Published 1 year ago

cipherdata v1.0.1

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

CipherData

cipherdata on npm

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