1.0.3 • Published 6 years ago

cryptolock v1.0.3

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

cryptolock

A simple library for an encryption and decryption files

GitHub stars npm

Cryptlock uses native built-in Crypto module and 'AES-256-CBC' algorithm.

Quick start

Installation

npm install --save cryptolock

Usage

// import
const crlock = new Cryptolock();

// encryption
crlock.encrypt('file.jpg', 'encrypted.dat', 'password');

// decryption
crlock.decrypt('encrypted.dat', 'decrypted.jpg', 'password');
1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago