1.0.0 • Published 2 years ago

void-protection v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

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']))
1.0.0

2 years ago