void-protection
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

void-protection

Void Protection let you encrypt/decrypt a string/array of string or a file.

Getting Started

const Protection = require('void-protection')

// let prot = new Protection() works as well.
let prot = new Protection('salt', true)
console.log(prot.encodeFile('./test.txt')) // return the content and save the file if saveToDisk(boolean in the constructor) is set to true
console.log(prot.encodeString('morbius'))
console.log(prot.encodeStringArray(['morb', 'ius']))

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i void-protection

    Weekly Downloads

    2

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    8.34 kB

    Total Files

    7

    Last publish

    Collaborators

    • mrthomas20121